TM1 Function for TI, AttrNL

Returns a numeric attribute for an element in a dimension.

What is the AttrNL function?

AttrNL returns a numeric attribute for an element in a dimension.

Where can the AttrNL function be used?

TurboIntegrator

What is the syntax for AttrNL?

AttrNL(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 AttrNL

Use AttrNL to retrieve the index attribute from Monday in the Weekday dimension.