TM1 Function for TI, DimensionElementInsertDirect 

Adds an element in a dimension by directly editing a dimension. This function is actioned immediately.

What is the DimensionElementInsertDirect function?

DimensionElementInsertDirect add an element in a dimension by directly editing 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 DimensionElementInsert.

Where can the DimensionElementInsertDirect function be used?


What is the syntax for DimensionElementInsertDirect?

DimensionElementInsertDirect(DimName, InsertionPoint, ElName,ElType)​;

​DimName = Dimension Name​
InsertionPoint = An existing element where the element is inserted before this element. If blank, the new element will be added as the last element in the dimension.​
ElName = Element Name​
ElType = Element type (N for numeric element, S for string element and C for consolidated element)

A demonstration on how to use DimensionElementInsertDirect

Insert Wales before Scotland in the Sales Region dimension.