---
id: object/table/7159
type: object
title: Table 7159 "Analysis Selected Dimension"
summary: Table 7159 "Analysis Selected Dimension" in Base Application (Microsoft.Inventory.Analysis). 9 fields, 1 public procedures. Present since at least BC23, still in BC30, changed in BC24.
tier: official
language: en
tags:
  - table
  - base application
versions:
  introduced: null
  last_changed: "24"
  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: f017e727cfca2811bd90dda481b7837b24cb86bcf198fe7dc1bb5dd6e1d49841
evidence:
  - kind: code
    url: https://github.com/microsoft/BCApps/blob/ea08af5ef2d6a9b5c5af4a029288abbe2c883220/src/Layers/W1/BaseApp/Inventory/Analysis/AnalysisSelectedDimension.Table.al
    title: src/Layers/W1/BaseApp/Inventory/Analysis/AnalysisSelectedDimension.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: 7159
name: Analysis Selected Dimension
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"
source_major: "29"
obsolete: null
countries: []
ms_search_form_ids: []
counts:
  fields: 9
  procedures: 1
  events: 0
  subscribers: 0
relations:
  out: 1
  referenced_by: 0
  pages: 0
  extended_by: 0
  event_subscribers: 0
  calls: 0
  called_by: 0
  implements: 0
---

# Table 7159 "Analysis Selected Dimension"

> Table 7159 "Analysis Selected Dimension" in Base Application (Microsoft.Inventory.Analysis). 9 fields, 1 public procedures. Present since at least BC23, still in BC30, changed in BC24.

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

## Properties

| Property | Value |
|---|---|
| Caption | Analysis Selected Dimension |
| 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 | Code[50] | — | TableRelation User."User Name"; DataClassification EndUserIdentifiableInformation |
| 2 | Object Type | Integer | — |  |
| 3 | Object ID | Integer | — |  |
| 4 | Dimension Code | Text[30] | — |  |
| 5 | New Dimension Value Code | Code[20] | — |  |
| 6 | Dimension Value Filter | Code[250] | — |  |
| 7 | Level | Option | — | OptionCaption: ,Level 1,Level 2,Level 3 |
| 8 | Analysis View Code | Code[10] | — | TableRelation [Table 7152 "Item Analysis View"](../table/7152.md) ("Item Analysis View".Code where("Analysis Area" = field("Analysis Area"))) |
| 9 | Analysis Area | Enum "Analysis Area Type" | — | enum [Enum 7130 "Analysis Area Type"](../enum/7130.md) |

## Keys

- Key1: User ID, Object Type, Object ID, Analysis Area, Analysis View Code, Dimension Code (clustered)
- Key2: User ID, Object Type, Object ID, Analysis Area, Analysis View Code, Level, Dimension Code

## Procedures

- `GetSelectedDim(UserID2: Code[50]; ObjectType: Integer; ObjectID: Integer; AnalysisArea: Integer; AnalysisViewCode: Code[10]; var TempAnalysisSelectedDim: Record "Analysis Selected Dimension" temporary)`

## Relations

- Analysis View Code: TableRelation [Table 7152 "Item Analysis View"](../table/7152.md)

## Across versions

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

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 Selected Dimension")`, then `bcatlas_get_procedure_body` or `bcatlas_get_neighbors` on the returned id.
