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.
TurboIntegrator
Version 11 and 12
HierarchySubsetElementGetIndex(DimensionName, HierarchyName, SubsetName, ElementName, StartIndex)