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