---
id: object/table/770
type: object
title: Table 770 "Analysis Report Chart Setup"
summary: Table 770 "Analysis Report Chart Setup" in Base Application (Microsoft.Inventory.Analysis). 12 fields, 12 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC28.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "28"
  deprecated: null
review:
  state: derived
  by: null
  at: null
  flags: []
generated:
  at: "2026-10-11T00:31:51.816Z"
  pipeline: 0.2.0
  prompts: {}
  input_hash: c4e10e5ad15e701647651afb59cc71cd8c66b02273f8b9f4e43e734fe1092bf5
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Analysis/AnalysisReportChartSetup.Table.al
    title: src/Layers/W1/BaseApp/Inventory/Analysis/AnalysisReportChartSetup.Table.al (releases/29.x)
    date: null
    commit: ea08af5ef2d6a9b5c5af4a029288abbe2c883220
    t: null
    quote: null
links:
  learn: []
  objects: []
  features: []
  topics: []
  localizations: []
  videos: []
  posts: []
  guidelines: []
object_type: table
object_id: 770
name: Analysis Report Chart Setup
namespace: Microsoft.Inventory.Analysis
app: Base Application
extends: null
first_version: "23"
last_version: "30"
present_in:
  - "23"
  - "24"
  - "25"
  - "26"
  - "27"
  - "28"
  - "29"
  - "30"
changed_in:
  - "24"
  - "28"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 12
  procedures: 16
  events: 0
  subscribers: 0
relations:
  out: 4
  referenced_by: 5
  pages: 2
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 770 "Analysis Report Chart Setup"

> Table 770 "Analysis Report Chart Setup" in Base Application (Microsoft.Inventory.Analysis). 12 fields, 12 public procedures. Present since at least BC23, still in BC30, changed in BC24, BC28.

Base Application · Microsoft.Inventory.Analysis · BC23-30 · [source at ea08af5e](https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Analysis/AnalysisReportChartSetup.Table.al) · facts from BC29

## Properties

| Property | Value |
|---|---|
| Caption | Analysis Report Chart Setup |
| DataClassification | CustomerContent |

## Fields

Explanation: the field's ToolTip in the code; without one, the ToolTip of a page control bound to the field (marked via the page); without that, its Caption (marked caption) when that differs from the name.

| No. | Name | Type | Explanation | Notes |
|---|---|---|---|---|
| 1 | User ID | Text[132] | Specifies the ID of the user who posted the entry, to be used, for example, in the change log. | not editable; DataClassification EndUserIdentifiableInformation |
| 2 | Name | Text[30] | Specifies the name of the specific chart. |  |
| 10 | Analysis Area | Enum "Analysis Area Type" | Specifies if the analysis report chart shows values for sales, purchase, or inventory. | enum [Enum 7130 "Analysis Area Type"](../enum/7130.md); not editable |
| 20 | Analysis Report Name | Code[10] | Specifies the name of the analysis report that is used to generate the specific chart that is shown in, for example, the Sales Performance window. | TableRelation [Table 7111 "Analysis Report Name"](../table/7111.md) ("Analysis Report Name".Name where("Analysis Area" = field("Analysis Area"))) |
| 21 | Analysis Line Template Name | Code[10] | Specifies the name of the analysis line template that is used to generate the specific chart that is shown in, for example, the Sales Performance window. | TableRelation [Table 7111 "Analysis Report Name"](../table/7111.md) ("Analysis Report Name"."Analysis Line Template Name" where("Analysis Area" = field("Analysis Area"), Name = field("Analysis Report Name"))); not editable |
| 22 | Analysis Column Template Name | Code[10] | Specifies the name of the analysis column template that is used to generate the chart that is shown in, for example, the Sales Performance window. | TableRelation [Table 7111 "Analysis Report Name"](../table/7111.md) ("Analysis Report Name"."Analysis Column Template Name" where("Analysis Area" = field("Analysis Area"), Name = field("Analysis Report Name"))); not editable |
| 30 | Base X-Axis on | Option | Specifies how the values from the selected analysis report are displayed in the specific chart. | OptionCaption: Period,Line,Column |
| 31 | Start Date | Date | Specifies the first date on which analysis report values are included in the chart. |  |
| 32 | End Date | Date | Specifies the last date on which analysis report values are included in the chart. |  |
| 41 | Period Length | Option | Specifies the length of periods in the chart. | OptionCaption: Day,Week,Month,Quarter,Year |
| 42 | No. of Periods | Integer | Specifies how many periods are shown in the chart. |  |
| 50 | Last Viewed | Boolean | — | not editable |

## Keys

- Key1: User ID, Analysis Area, Name (clustered)

## Procedures

- `SetAnalysisReportName(ReportName: Code[10])`
- `SetShowPer(ShowPer: Option)`
- `SetPeriodLength(PeriodLength: Option)`
- `SetLastViewed()`
- `SetLinkToLines(var AnalysisReportChartLine: Record "Analysis Report Chart Line")`
- `SetLinkToMeasureLines(var AnalysisReportChartLine: Record "Analysis Report Chart Line")`
- `SetLinkToDimensionLines(var AnalysisReportChartLine: Record "Analysis Report Chart Line")`
- `RefreshLines(Force: Boolean)`
- `FilterAnalysisLine(var AnalysisLine: Record "Analysis Line")`
- `FilterAnalysisColumn(var AnalysisColumn: Record "Analysis Column")`
- `SetMeasureChartTypesToDefault(var AnalysisReportChartLine: Record "Analysis Report Chart Line")`
- `SetDimensionChartTypesToDefault(var AnalysisReportChartLine: Record "Analysis Report Chart Line")`

Plus 4 local procedures.

## Triggers

OnDelete

## Relations

- lookup page [Page 779 "Analysis Report Chart List"](../page/779.md)
- Analysis Column Template Name: TableRelation [Table 7111 "Analysis Report Name"](../table/7111.md)
- Analysis Line Template Name: TableRelation [Table 7111 "Analysis Report Name"](../table/7111.md)
- Analysis Report Name: TableRelation [Table 7111 "Analysis Report Name"](../table/7111.md)

## Referenced by

5 fields in 1 objects relate to this table (TableRelation or CalcFormula).

- [Table 771 "Analysis Report Chart Line"](../table/771.md): Analysis Area, Analysis Column Template Name, Analysis Line Template Name, Name, User ID

## Pages and codeunits on this table

- [Page 775 "Analysis Report Chart Setup"](../page/775.md) (source table)
- [Page 779 "Analysis Report Chart List"](../page/779.md) (source table)

## Across versions

- Present in: BC23-30
- Changed (declaration) in: BC24, BC28

Source: AL metadata extracted from the code (names, ids, signatures, properties); no code bodies (D10).

## Ask your agent

Procedure bodies are not stored here (D10). For a procedure body or the calls of one procedure, ask bc-code-atlas (external, by Stefan Maron, MIT; default corpus w1-28), which the bc-observatory plugin connects: `bcatlas_resolve_node(object_type: "table", object_name: "Analysis Report Chart Setup")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
