TM1 Function for TI, DimensionElementComponentAddDirect

Adds an element to a consolidated element in a rollup according to a specific weight in a dimension.

What is the DimensionElementComponentAddDirect function?

DimensionElementComponentAddDirect adds an element to a consolidated element in a rollup according to a specific weight in a dimension. 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 DimensionElementComponentAdd.

Where can the DimensionElementComponentAddDirect function be used?

TurboIntegrator

What is the syntax for DimensionElementComponentAddDirect?

DimensionElementComponentAddDirect(DimName, ConsolidatedElement,Element, ElWeight)​;

​DimName = Dimension Name​
ConsolidatedElement = Consolidated Element Name​
Element = Component Element Name​
ElWeight = Element Weight

A demonstration on how to use DimensionElementComponentAddDirect

Add the element Denmark as a component to Scandanavia for the Sales Region dimension.