ITableMeasureGroupValueColumnDefinition
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Defines the single value column when measures are in rows and there are no column attributes.
**What it does:** When measures are in rows and you don’t have any attributes in columns, you get one simple “Values” column that shows all the numbers.
**When it’s created:** - Only when measures are in rows and there are no pivoting columns. - Appears as the rightmost column after the measure header column
**Real example:**
| Country | City | Measure | Value | <- "Value" is the measure group value column
|---------|------|---------|-------|
| USA | NYC | Sales | 100 |
| USA | NYC | Profit | 20 |
| USA | LA | Sales | 200 |
| USA | LA | Profit | 40 |
**What happens if you DO have column attributes:** If you have attributes in columns (like “Q1”, “Q2”), then instead of this single column, you get multiple ITableValueColumnDefinition columns - one for each column attribute combination.
export interface ITableMeasureGroupValueColumnDefinition
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
number | (ALPHA) Position of this column in the final table (0-based). Always the rightmost column when this type is used. | ||
(ALPHA) Metadata about the group of measures whose values are shown. | |||
“measureGroupValue” | (ALPHA) Always “measureGroupValue” - identifies this as the single values column when measures are in rows and there are no column attributes. |
Property details
ITableMeasureGroupValueColumnDefinition.columnIndexpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Position of this column in the final table (0-based). Always the rightmost column when this type is used.
columnIndex: number;
ITableMeasureGroupValueColumnDefinition.measureGroupDescriptorpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Metadata about the group of measures whose values are shown.
measureGroupDescriptor: IMeasureGroupDescriptor;
ITableMeasureGroupValueColumnDefinition.typepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Always “measureGroupValue” - identifies this as the single values column when measures are in rows and there are no column attributes.
type: "measureGroupValue";