Skip to content

HIERARCHYCOUNT ^v2.7.184

Returns the number of hierarchies in the specified dimension.

js
HIERARCHYCOUNT(dimension)

Parameters

  • dimension - The name of the dimension.

Examples

js
HIERARCHYCOUNT("Time")

Note: Returns 1 if the if there was only 1 hierarchy in the Time dimension.