ELLEV
ELLEV returns the level of an element within a dimension.
This function is valid in both rules and TurboIntegrator processes.
Syntax
ELLEV(dimension, element)
Argument |
Description |
---|---|
dimension |
A valid dimension name. |
element |
The name of an element within the dimension. |
Example
ELLEV('Region','Europe')
In the Region dimension, individual nations (Level 0) add up to regions (Level 1). The regions then add up to super-regions (Level 2), which in turn add up to the world (Level 3). The example returns 2, as Europe is a Level 2 element.