ElementComponent

ElementComponent returns the name of a child of a consolidated element in a specified dimension. If the element argument is not a consolidated element, the function returns an empty string.

This function is valid in both rules and TurboIntegrator processes.

Syntax

ElementComponent(dimension, hierarchy, element, position)

Argument

Description

dimension

A valid dimension name.

hierarchy

The name of the hierarchy within the dimension.

element

The name of a consolidated element within the dimension.

position

A positive value less than or equal to the total number of children in the specified element.

Example

In the dimension Region, the consolidated element Central Europe is a consolidation of the children France and Germany. Germany is in the second position in this consolidation. Accordingly, the example returns Germany.

ElementComponent('Region', 'Europe', 'Central Europe', 2)