> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# ITableSubtotalMeasureValue

- Package: [@gooddata/sdk-ui](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/index.md)
- Kind: interface
- Stability: alpha
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-ui/src/base/results/tableData/interfaces/cells.ts

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Numeric cell containing \*\*subtotals\*\* aggregated across sibling rows/columns.

\*\*Visual example\*\*

```tsx
// Row subtotal:
           | Sales  |
-----------+--------+
 USA       |  100   |
 Sum A     |  170   | <- 170 is subtotalValue

// Column subtotal:
           | Q1  | Sum A   |
-----------+-----+---------+
 USA       | 100 |   220   | <- 220 is subtotalValue
```

**Signature:**

```typescript
export interface ITableSubtotalMeasureValue 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [columnDefinition](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.itablesubtotalmeasurevalue/index.md#itablesubtotalmeasurevaluecolumndefinition) |  | [ITableValueColumnDefinition](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.itablevaluecolumndefinition/index.md) \| [ITableSubtotalColumnDefinition](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.itablesubtotalcolumndefinition/index.md) | **_(ALPHA)_** Column context - value column or subtotal column. |
| [columnIndex](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.itablesubtotalmeasurevalue/index.md#itablesubtotalmeasurevaluecolumnindex) |  | number | **_(ALPHA)_** Zero-based column position in the `data` matrix. |
| [formattedValue](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.itablesubtotalmeasurevalue/index.md#itablesubtotalmeasurevalueformattedvalue) |  | string \| null | **_(ALPHA)_** Human-readable formatted subtotal value (e.g., "$2,345.67"). |
| [rowDefinition](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.itablesubtotalmeasurevalue/index.md#itablesubtotalmeasurevaluerowdefinition) |  | [ITableValueRowDefinition](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.itablevaluerowdefinition/index.md) \| [ITableSubtotalRowDefinition](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.itablesubtotalrowdefinition/index.md) | **_(ALPHA)_** Row context - value or subtotal row. |
| [rowIndex](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.itablesubtotalmeasurevalue/index.md#itablesubtotalmeasurevaluerowindex) |  | number | **_(ALPHA)_** Zero-based row position in the `data` matrix. |
| [type](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.itablesubtotalmeasurevalue/index.md#itablesubtotalmeasurevaluetype) |  | "subtotalValue" | **_(ALPHA)_** Discriminator literal for narrowing the `ITableDataValue` union. |
| [value](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-ui/sdk-ui.itablesubtotalmeasurevalue/index.md#itablesubtotalmeasurevaluevalue) |  | [DataValue](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.datavalue/index.md) | **_(ALPHA)_** Raw aggregated subtotal value from the backend. Result of summing/averaging/etc. across sibling rows or columns. |

## Property details

### ITableSubtotalMeasureValue.columnDefinition

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Column context - value column or subtotal column.

**Signature:**

```typescript
columnDefinition: ITableValueColumnDefinition | ITableSubtotalColumnDefinition;
```

### ITableSubtotalMeasureValue.columnIndex

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Zero-based column position in the `data` matrix.

**Signature:**

```typescript
columnIndex: number;
```

### ITableSubtotalMeasureValue.formattedValue

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Human-readable formatted subtotal value (e.g., "$2,345.67").

**Signature:**

```typescript
formattedValue: string | null;
```

### ITableSubtotalMeasureValue.rowDefinition

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Row context - value or subtotal row.

**Signature:**

```typescript
rowDefinition: ITableValueRowDefinition | ITableSubtotalRowDefinition;
```

### ITableSubtotalMeasureValue.rowIndex

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Zero-based row position in the `data` matrix.

**Signature:**

```typescript
rowIndex: number;
```

### ITableSubtotalMeasureValue.type

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Discriminator literal for narrowing the `ITableDataValue` union.

**Signature:**

```typescript
type: "subtotalValue";
```

### ITableSubtotalMeasureValue.value

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

Raw aggregated subtotal value from the backend. Result of summing/averaging/etc. across sibling rows or columns.

**Signature:**

```typescript
value: DataValue;
```
