TM1 Function for TI, SubsetAttrPutN

Updates a numeric attribute from a subset.

What is the SubsetAttrPutN function?

SubsetAttrPutN updates a numeric attribute from a subset.

Where can the SubsetAttrPutN function be used?


What is the syntax for SubsetAttrPutN?

SubsetAttrPutN(NumericValue, DimensionName, SubName, AttrName, [LocalLangCode] );​

NumericValue = Numeric value that we want to assign to the attribute.​
DimensionName = Name of the Dimension. ​
SubName = Name of the subset which attribute value we want to update. ​
AttrName = Name of the attribute which value we want to update. ​
LocalLangCode = This is an optional parameter which is used to define the language locale code.

A demonstration on how to use SubsetAttrPutN

Use SubsetAttrPutN to update the numeric attribute, No of Elements, from the ‘All Elements’ subset in the Product Scorecard dimension.