ELISANC
ELISANC determines whether element1 is an ancestor of element2 in the specified dimension. The function returns 1 if element1 is an ancestor of element2, otherwise the function returns 0.
This function is valid in both rules and TurboIntegrator processes.
Syntax
ELISANC(dimension, element1, element2)
Argument |
Description |
---|---|
dimension |
A valid dimension name. |
element1 |
The name of an element within the dimension. |
element2 |
The name of an element within the dimension. |
Example
In the dimension Region, the element Europe is an ancestor of Germany. The example returns 1.
ELISANC('Region', 'Europe', 'Germany')