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

HierarchySubsetElementGetIndex function for IBM Planning Analytics (TM1)

    HierarchySubsetElementGetIndex returns the index of an element in a subset for a hierarchy.

    In this video, HierarchySubsetElementGetIndex will be used to return the index for the Finance element in the Departments subset, associated with the Employee hierarchy and Employee dimension, starting from index 1.

    Where can the HierarchySubsetElementGetIndex function be used?

    TurboIntegrator

      Which TM1 Server version is the HierarchySubsetElementGetIndex function available for?

      Version 11 and 12

        What is the syntax for HierarchySubsetElementGetIndex?

        HierarchySubsetElementGetIndex(DimensionName, HierarchyName, SubsetName, ElementName, StartIndex)

        • ​DimensionName = Name of the dimension the subset is in.​
        • HierarchyName = Name of the Hierarchy the subset is in.​
        • SubsetName = Name of the subset to be checked.​
        • ElementName = Name of the element to be checked in the subset.​
        • StartIndex = a value between 1 and the size of the subset on where to start the search from​

          Note: The subset checked must be public

        Relevant Functions