TM1 Function for TI, HierarchyElementComponentAdd

Adds an element to a consolidated element in a hierarchy, rolling up according to the weight defined.

What is the HierarchyElementComponentAdd function?

HierarchyElementComponentAdd adds an element to a consolidated element in a hierarchy, rolling up according to the weight defined. This action occurs after a commitment in the process (e.g. at the end of executing the metadata tab). To action this function immediately, use HierarchyElementComponentAddDirect.

Where can the HierarchyElementComponentAdd function be used?

TurboIntegrator

What is the syntax for HierarchyElementComponentAdd?

HierarchyElementComponentAdd(DimName, HierName, ConsolElName,ElName, ElWeight)​;

​DimName = Dimension Name​
HierName = Hierarchy Name​
ElName = Element Name​
ConsolElName = Consolidated Element Name​
ElWeight = Element Weight

A demonstration on how to use HierarchyElementComponentAdd

Add Netherlands as a child of Benelux in the Western Europe hierarchy from the Sales Region dimension.