TM1 Function for TI, HierarchyElementComponentAddDirect

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

What is the HierarchyElementComponentAddDirect function?

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

Where can the HierarchyElementComponentAddDirect function be used?

TurboIntegrator

What is the syntax for HierarchyElementComponentAddDirect?

HierarchyElementComponentAddDirect(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 HierarchyElementComponentAddDirect

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