Skip to content

cube.dimensionCount

Returns the number of dimensions present in a cube within the specified model, this function returns an integer value.

js
cube.dimensionCount(cube_name)
cube.dimensionCount(cube_name)

Parameters

  • cube_name - Name of a cube.

Example

js
let count = cube.dimensionCount("General Ledger");
let count = cube.dimensionCount("General Ledger");