TM1 Function for TI, SubsetAttrSL

Retrieves a string attribute from a subset based on the local language code.

What is the SubsetAttrSL function?

SubsetAttrSL retrieves a string attribute from a subset based on the local language code. If the attribute is not defined for the language code, then the function returns the base attribute value. 

Where can the SubsetAttrSL function be used?

TurboIntegrator

What is the syntax for SubsetAttrSL?

SubsetAttrSL(DimName, SubName, AttrName, [LangLocaleCode]);​

​DimName = Name of the Dimension.​
SubName = Name of the subset.​
AttrName = Name of the attribute which value we want to retrieve. ​
LocalLangCode = This is an optional parameter which is used to specify the language locale code. 

A demonstration on how to use …

Use SubsetAttrSL to retrieve the string attribute, Description, from the ‘All Elements’ subset in the Product Scorecard dimension using the local language code ‘fr’.