DimensionElementComponentAdd

DimensionElementComponentAdd adds a component (child) to a consolidated element. You can't use this function in the Epilog procedure of a TurboIntegrator process.

This function is valid in TM1® TurboIntegrator processes only.

Syntax

DimensionElementComponentAdd(DimName, ConsolidatedElName,ElName, ElWeight);

Argument

Description

DimName

The parent dimension of the consolidated element to which you want to add a child.

ConsolidatedElName

The element to which you want to add a child.

ElName

The name of the child element.

ElWeight

The weight of the child element.

Example

DimensionElementComponentAdd('Measures', 'Net Sales', 'Expenses', -1);

This example adds the child Expenses to the Net Sales consolidation in the Measures dimension. The child has a weight of -1 in the consolidation.