TM1 Function for TI, DimensionElementComponentAddDirect
Adds an element to a consolidated element in a rollup according to a specific weight in a dimension.
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.
DimensionElementComponentAddDirect(DimName, ConsolidatedElement,Element, ElWeight);
DimName = Dimension Name
ConsolidatedElement = Consolidated Element Name
Element = Component Element Name
ElWeight = Element Weight
Add the element Denmark as a component to Scandanavia for the Sales Region dimension.