TM1 Function for TI, ​AttrSL

Returns a string attribute for an element.

What is the AttrSL function?

AttrSL returns a string attribute for an element.

Where can the AttrSL function be used?

TurboIntegrator

Which TM1 Server version is this function available for?

Version 11 and 12

What is the syntax for AttrSL?

AttrSL(DimName, ElName, AttrName, [LangLocaleCode])​;

​DimName – the dimension that you want to retrieve attribute value.​
ElName – is the element in the dimension that you want retrieve attribute value.​
AttrName – is the attribute of the dimension. ​
LangLocaleCode – the language locale code to which the value applies. It’s an optional parameter. When it’s omitted, the base attribute value is updated.

A demonstration on how to use AttrSL

Use ATTRSL to retrieve the gender attribute from Sean Chai N in the Employee dimension