dimensionTotals()
Home > @gooddata/sdk-model > dimensionTotals
dimensionTotals() function
Gets totals defined in the provided dimension
Signature:
export declare function dimensionTotals(dim: IDimension): ITotal[];
Parameters
Parameter | Type | Description |
---|---|---|
dim | IDimension | dimension to work with |
Returns:
ITotal[]
totals in the dimension or empty array if none