AttrInsert
AttrInsert creates a new element attribute for
a dimension. The function can create a string, numeric, or alias attribute.
This is a TM1® TurboIntegrator function, valid only in TurboIntegrator processes.
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
AttrInsert('Model', 'Transmission', 'InteriorColor','S');
This example creates the InteriorColor string attribute for the Model dimension. This attribute is inserted after the Transmission attribute.