TM1 Function for TI, DimensionElementInsert

Adds an element in a dimension.

What is the DimensionElementInsert function?

DimensionElementInsert adds an element in a dimension. 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 DimensionElementInsertDirect.

Where can the DimensionElementInsert function be used?


What is the syntax for DimensionElementInsert?

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

Insert Wales before Scotland in the Sales Region dimension.