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

SubsetElementGetIndex function for IBM Planning Analytics (TM1)

    SubsetElementGetIndex retrieves an element’s index in a subset. If the element doesn’t exist in the subset, then the function returns 0. If the index is not between 1 and the size of the subset then the function return error and process will be aborted. 

    In this video, SubsetElementGetIndex will be used to retrieve an element’s (Sales Amount) index, demonstrating the result with different StartIndexes.

    Where can the SubsetElementGetIndex function be used?

    TurboIntegrator

      Which TM1 Server version is the SubsetElementGetIndex function available for?

      Version 11 and 12

        What is the syntax for SubsetElementGetIndex?

        SubsetElementGetIndex(DimName, SubsetName, ElementName, StartIndex)

        • DimName = Name of the Dimension where the subset exists.​
        • SubsetName = Name of the subset from where we want to retrieve the element index. ​
        • ElementName = Name of the element from which we want to retrieve the index from the subset. ​
        • StartIndex = Index number to start searching from. This value must be between 1 and the size of the subset. 

        Relevant Functions