ITableMeasureValue
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Numeric cell containing a **raw measure value** for regular (non-aggregated) row/column intersections.
**Visual examples:**
// Normal (measures in columns):
Country | Sales |
-----------+--------+
USA | 100 | <- 100 is value cell
// Transposed (measures in rows):
Country | | |
-----------+---------+-------+
USA | Sales | 100 | <- 100 is value cell
export interface ITableMeasureValue
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
ITableValueColumnDefinition | ITableMeasureGroupValueColumnDefinition | (ALPHA) Column context - value column or measureGroupValue column. | ||
number | (ALPHA) Zero-based column position in the | ||
string | null | (ALPHA) Human-readable formatted number ready for display (e.g., “$1,234.56”). Formatted using the measure’s format string and respects locale settings. Null if the raw value is null/missing. | ||
(ALPHA) Row context - value or subtotal row. | |||
number | (ALPHA) Zero-based row position in the | ||
“value” | (ALPHA) Discriminator literal for narrowing the | ||
(ALPHA) Raw numeric value from the backend execution response. Can be number, string, or null depending on the measure data. |
Property details
ITableMeasureValue.columnDefinitionpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Column context - value column or measureGroupValue column.
columnDefinition: ITableValueColumnDefinition | ITableMeasureGroupValueColumnDefinition;
ITableMeasureValue.columnIndexpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Zero-based column position in the data matrix.
columnIndex: number;
ITableMeasureValue.formattedValuepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Human-readable formatted number ready for display (e.g., “$1,234.56”). Formatted using the measure’s format string and respects locale settings. Null if the raw value is null/missing.
formattedValue: string | null;
ITableMeasureValue.rowDefinitionpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Row context - value or subtotal row.
rowDefinition: ITableValueRowDefinition | ITableSubtotalRowDefinition;
ITableMeasureValue.rowIndexpropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Zero-based row position in the data matrix.
rowIndex: number;
ITableMeasureValue.typepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Discriminator literal for narrowing the ITableDataValue union.
type: "value";
ITableMeasureValue.valuepropertyAlpha
Alpha API. Initial API, highly likely to change outside SemVer. Don’t build on it in production. See API maturity.
Raw numeric value from the backend execution response. Can be number, string, or null depending on the measure data.
value: DataValue;