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

HierarchyContainsAllLeaves function for IBM Planning Analytics (TM1)

    HierarchyContainsAllLeaves validates if a hierarchy contains all leaf elements in the dimension. If all are leaf elements, the function returns 1 (True), and if missing one or more leaf elements, it returns 0 (false).

    In the video, HierarchyContainsAllLeaves will be used to validate Western Europe hierarchy from the Sales Region dimension and determine if it has all leaf elements in the dimension or not.

    Where can the HierarchyContainsAllLeaves function be used?

    TurboIntegrator

      Which TM1 Server version is the HierarchyContainsAllLeaves function available for?

      Version 11 and 12

        What is the syntax for HierarchyContainsAllLeaves?

        HierarchyContainsAllLeaves (DimName, HierName)​

        • ​​​DimName = Dimension Name​
        • HierName = Hierarchy Name

        Relevant Functions