SubsetElementExists
SubsetElementExists determines whether a specific element exists within a specific public subset on the server from which a TurboIntegrator process is executed. SubsetElementExists cannot be used to determine if an element exists in a private subset.
If the element exists in the specified subset, the function returns 1, otherwise it returns 0.
This function is valid in TM1® TurboIntegrator processes only.
Syntax
SubsetElementExists(DimName, SubsetName, ElementName);
Argument |
Description |
---|---|
DimName | The dimension parent of the subset containing the element whose existence you want to confirm. |
SubsetName | The public subset containing the element whose existence you want to confirm. |
ElementName | The element whose existence you want to confirm. The ElementName argument only accepts the element name and not the alias. |
Example
SubsetElementExists('Region', 'Europe', 'Italy');
This example determines if the Italy element exists in the Europe subset of the Region dimension.