HierarchyN returns the name of the hierarchy at a specified position.
In this video, HierarchyN will be used to retrieve Employee Hierarchies dimension hierarchies name and apply it in the rule to populate in the Employee Salaries cube.

Rules

Version 11 and 12

HierarchyN(DimName, Index)
