ChoreAttrInsert function for IBM Planning Analytics (TM1)


ChoreAttrInsert function for IBM Planning Analytics (TM1)

ChoreAttrInsert creates an attribute for Chores.

In this video, ChoreAttrInsert is used to retrieve the numeric attribute, Frequency,  for the ChoreFunction_Test chore using language locale fr.

Where can the ChoreAttrInsert function be used?

TurboIntegrator

Which TM1 Server version is the ChoreAttrInsert function available for?

Version 11 and 12

What is the syntax for ChoreAttrInsert?

ChoreAttrInsert( PrevAttrName, NewAttrName, AttrType)

  • ​PrevAttrName = The attribute that precedes the new attribute that will be created. This can be left blank if there is no previous attribute or if the new attribute should be the first attribute.​
  • NewAttrName = The name of the attribute to be created​
  • AttrType = Enter one of 3 letters to designate the attribute type:​
    • S = String type;
    • N = Numeric type;
    • A = Alias type​
      **Note: An alias attribute can only hold a unique string value for each chore

Relevant Functions

  • ChoreAttrDelete = Deletes an attribute for Chores
  • ChoreAttrInsert = Creates an attribute for Chores
  • ChoreAttrN = Retrieves a numeric attribute for a Chore
  • ChoreAttrNL = Retrieves a numeric attribute for a Chore, for a given language
  • ChoreAttrPutN = Uploads data to a numeric attribute for a Chore
  • ChoreAttrPutS = Uploads data to a string attribute for a Chore
  • ChoreAttrS = Retrieves data from a string attribute for a chore
  • ChoreAttrSL = Retrieves data from a string attribute for a chore, for a given language

Leave a Reply

Your email address will not be published. Required fields are marked *