AttrInsert
AttrInsert creates a new element attribute for a dimension. The function can create a string, numeric, or alias attribute.
This function is valid in TM1® TurboIntegrator processes only.
Syntax
AttrInsert(DimName, PrevAttr, AttrName, Type);
|
Argument |
Description |
|---|---|
|
DimName |
The dimension for which you want to create an element attribute. |
|
PrevAttr |
The attribute that precedes the attribute you are creating. |
|
AttrName |
The name you want to assign to the new attribute. |
|
Type |
The type of attribute. There are three possible values for the Type argument:
|
Example
This example creates the InteriorColor string attribute for the Model dimension. This attribute is inserted after the Transmission attribute.
AttrInsert('Model', 'Transmission', 'InteriorColor','S');