function
Source: dimension.ts ↗
newTwoDimensional()
Creates new two dimensional specification where each dimension will have the provided set of identifiers.
export declare function newTwoDimensional(dim1Input: DimensionItem[], dim2Input: DimensionItem[]): IDimension[];
Parameters
Parameter | Type | Description |
|---|---|---|
dim1Input | items to put into the first dimension, this can be item identifiers or totals | |
dim2Input | items to put into the second dimension, this can be item identifiers or totals |
Returns
array with exactly two dimensions
Remarks
The ‘measureGroup’ identifier MAY be specified in only one of the dimensions.