TM1 Function for Rules, HIERARCHYCOUNT

HIERARCHYCOUNT returns the number of hierarchies in the supplied dimension.

Where can the HIERARCHYCOUNT function be used?

Rules

What is the HIERARCHYCOUNT function?

HIERARCHYCOUNT returns the number of hierarchies in the supplied dimension.

What is the syntax for HIERARCHYCOUNT?

HierarchyCount(DimName);​
​DimName =  Dimension name.

A demonstration on how to use HIERARCHYCOUNT

Use HierarchyCount function to retrieve Employee Hierarchies dimension number of hierarchy and apply it in the rule to populate in the Employee Salaries cube.