<iframe src="https://www.googletagmanager.com/ns.html?id=GTM-NCX94J4" height="0" width="0" style="display:none;visibility:hidden"></iframe>

AttrPutN function for IBM Planning Analytics (TM1)

AttrPutN is a TurboIntegrator function that uploads data to a numeric attribute for an element.

If you want to upload data to a string attribute, use AttrPutS.

In the video demo, learn how to use AttrPutN to update an attribute on the Weekday dimension.

Where can the AttrPutN function be used?

TurboIntegrator

      Which TM1 Server version is the AttrPutN function available for?

      Version 11 and 12

          What is the syntax for AttrPutN?

          AttrPutN( Value, Dimension, Element, Attribute, [LanguageLocaleCode] )​;

          • Value = the number that you want to insert.​
          • Dimension = the dimension that you want to update.​
          • Element = is the element in the dimension that you want to update.​
          • Attribute = is the attribute of the dimension that you want to update. ​
          • LanguageLocaleCode = the language locale code to which the value applies. It’s an optional parameter. When it’s omitted, the base attribute value is updated.

            Relevant Functions

            • AttrDelete = Deletes an attribute for a dimension
            • AttrInsert = Creates a new attribute for a dimension
            • AttrN = Returns the numeric attribute for a specified element of a dimension
            • AttrNL = Returns a numeric attribute for an element in a dimension for a different language
            • AttrPutN = Uploads a value to a numeric attribute for an element.
            • AttrPutS = Uploads a string into an attribute to an element
            • AttrS = Returns the string attribute for a specified element of a dimension
            • AttrSL = Returns a string attribute for an element for a different language