DimensionTopElementInsert

DimensionTopElementInsert creates a root element in a dimension. If the dimension already has a single root, then this element will not be created.

This function is valid in TM1® TurboIntegrator processes only.

Syntax

DimensionTopElementInsert(DimName, InsertionPoint, ElName);

Argument

Description

DimName

The dimension for which you want to create a root element.

InsertionPoint

An existing dimension element. The root element being added to the dimension will be inserted immediately before this existing element.

ElName

The name you want to assign to the new root element.

Example

DimensionTopElementInsert('Region', 'Netherlands', 'World');

This example adds the root element World to the Region dimension. World is inserted displays immediately before Netherlands in the dimension definition.