Resources · Functions Library · TurboIntegrator
TurboIntegrator

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.

Cubewise · YouTube
Where it's used
TurboIntegrator
TM1 server version
Version 11 and 12
Syntax

How you write it

SubsetElementGetIndex(DimName, SubsetName, ElementName, StartIndex)
DimNameName of the Dimension where the subset exists.
SubsetNameName of the subset from where we want to retrieve the element index.
ElementNameName of the element from which we want to retrieve the index from the subset.
StartIndexIndex number to start searching from. This value must be between 1 and the size of the subset.