Skip to content

cube.dimensions ​

Returns the dimensions in a cube.

js
cube.dimensions(cubeName)

Parameters ​

ParameterTypeDescription
cubeNamestringThe cube's name.

Returns ​

string

The cube's dimensions as a JSON string. Read it with JSON.parse().

Examples ​

js
const dimensions = JSON.parse(cube.dimensions("General Ledger"));