ITableMeasureGroupHeaderColumnDefinition
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Defines the column that shows measure names when measures are in rows.
**What it does:** When you put measures in rows instead of columns, you need a column to show which measure each row represents (“Sales”, “Profit”, etc.).
**When it’s created:** - Only when measureDimension === "rows" (measures are transposed) - Always created when you have measures in rows - Appears right after your attribute columns
**Real example:**
| Country | City | Measure | Q1 | Q2 | <- "Measure" column shows measure names
|---------|------|---------|-----|-----|
| USA | NYC | Sales | 100 | 150 |
| USA | NYC | Profit | 20 | 30 |
| USA | LA | Sales | 200 | 250 |
| USA | LA | Profit | 40 | 50 |
export interface ITableMeasureGroupHeaderColumnDefinition
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
(ALPHA) Descriptors for attributes that are in the columns bucket. | |||
number | (ALPHA) Position of this column in the final table (0-based). Always appears right after attribute columns, before value columns. | ||
(ALPHA) Metadata about the group of measures being displayed. Contains information about all measures that will appear in rows. | |||
“measureGroupHeader” | (ALPHA) Always “measureGroupHeader” - identifies this as a measure names column. |
Property details
ITableMeasureGroupHeaderColumnDefinition.attributeDescriptorspropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Descriptors for attributes that are in the columns bucket.
attributeDescriptors: IAttributeDescriptor[];
ITableMeasureGroupHeaderColumnDefinition.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 appears right after attribute columns, before value columns.
columnIndex: number;
ITableMeasureGroupHeaderColumnDefinition.measureGroupDescriptorpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Metadata about the group of measures being displayed. Contains information about all measures that will appear in rows.
measureGroupDescriptor: IMeasureGroupDescriptor;
ITableMeasureGroupHeaderColumnDefinition.typepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production.
Always “measureGroupHeader” - identifies this as a measure names column.
type: "measureGroupHeader";