ITableMeasureGroupValueColumnDefinition
Home > @gooddata/sdk-ui > ITableMeasureGroupValueColumnDefinition
ITableMeasureGroupValueColumnDefinition interface
This API is provided as an alpha preview for developers and may change based on feedback that we receive. Do not use this API in a production environment.
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.
Signature:
export interface ITableMeasureGroupValueColumnDefinition
Properties
Property | Modifiers | Type | Description |
---|---|---|---|
columnIndex | number | (ALPHA) Position of this column in the final table (0-based). Always the rightmost column when this type is used. | |
measureGroupDescriptor | IMeasureGroupDescriptor | (ALPHA) Metadata about the group of measures whose values are shown. | |
type | "measureGroupValue" | (ALPHA) Always "measureGroupValue" - identifies this as the single values column when measures are in rows and there are no column attributes. |