<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NCX94J4" height="0" width="0" style="display:none;visibility:hidden"></iframe>

Hierarchy function for IBM Planning Analytics (TM1)

    Hierarchy returns the name of the hierarchy if there is only one hierarchy at the dimension; otherwise, it returns an empty string.

    In this video, Hierarchy will be used to retrieve the Employee Hierarchies dimension hierarchy name and apply it in the rule to populate the Employee Salaries cube.​​

    Where can the Hierarchy function be used?

    Rules

      Which TM1 Server version is the Hierarchy function available for?

      Version 11 and 12

        What is the syntax for Hierarchy?

        Hierarchy (DimName)

        • DimName =  Dimension name.

        Relevant Functions

        • Hierarchy = Returns the name of the hierarchy if there is only one hierarchy at the dimension otherwise it returns an empty string
        • HierarchyCount = Returns the number of hierarchies in the supplied dimension
        • HierarchyIndex = Returns a 1-based index if the hierarchy is in the supplied dimension, 0 otherwise
        • HierarchyN = Returns the name of the hierarchy at a specified position