ElementAttrInsert function for IBM Planning Analytics (TM1)
ElementAttrInsert creates an attribute for a dimension.
In the video, ElementAttrInsert will be used to create an attribute, zTemp, into the Product Type dimension after the attribute Active Status.
Where can the ElementAttrInsert function be used?
TurboIntegrator
Which TM1 Server version is the ElementAttrInsert function available for?
Version 11 and 12
What is the syntax for ElementAttrInsert?
ElementAttrInsert( Dimension, Hierarchy, PrevAttribute, Attribute, Type)
- Dimension = Name of the Dimension
- Hierarchy = Name of the Hierarchy within the Dimension
- PrevAttribute = The Attribute before the new Attribute that you want to insert
- Attribute = Name of the Attribute
- Type = The type of attribute. There are three possible values for the Type argument:
- N: Creates a numeric attribute.
- S: Creates a string attribute.
- A: Creates an alias attribute.
Relevant Functions
- ElementAttrDelete = Deletes attribute for a dimension
- ElementAttrInsert = Create an attribute for a dimension
- ElementAttrN = Returns the numeric attribute value of the specified element of a dimension
- ElementAttrNL = Retrieves a numeric attribute for an element, for a given language
- ElementAttrPutN = Uploads data to a numeric attribute for an element
- ElementAttrPutS = Uploads data from a string attribute for an element
- ElementAttrS = Returns the string attribute value of the specified element of a dimension
- ElementAttrSL = Returns a string attribute for an element, for a given language