cube.dimensions
Returns the dimensions in a cube.
js
cube.dimensions(cubeName)Parameters
| Parameter | Type | Description |
|---|---|---|
cubeName | string | The cube's name. |
Returns
stringThe cube's dimensions as a JSON string. Read it with JSON.parse().
Examples
js
const dimensions = JSON.parse(cube.dimensions("General Ledger"));