cube.dimensionCount
Returns the number of dimensions in a cube.
js
cube.dimensionCount(cubeName)Parameters
| Parameter | Type | Description |
|---|---|---|
cubeName | string | The cube's name. |
Returns
numberThe number of dimensions, or -1 when the cube can't be found.
Examples
js
const count = cube.dimensionCount("General Ledger");