ElementType
ElementType returns information about the element type of a specified element.
ElementType returns N if the element is a numeric element, S if the element is a string element, and C if the element is a consolidated element.
In the case of an element attribute dimension, ElementType returns AN if the attribute is a numeric attribute, AS if the attribute is a string attribute, and AA if the attribute is an alias attribute. For more information, see Element Attributes.
This function is valid in both rules and TurboIntegrator processes.
Syntax
ElementType(dimension, hierarchy, element)
Argument |
Description |
---|---|
dimension |
A valid dimension name. |
hierarchy |
The name of the hierarchy within the dimension. |
element |
The name of an element within the dimension. |
Example
The element Europe is a consolidated element of the Region dimension, so the example returns C.
ElementType('Region', 'Countries', 'Europe')