TM1 Function for TI, ViewAttrN

Returns a numeric attribute from a cube view.

What is the ViewAttrN function?

ViewAttrN returns a numeric attribute from a cube view.

Where can the ViewAttrN function be used?

TurboIntegrator

What is the syntax for ViewAttrN?

ViewAttrN(CubeName, ViewName, AttrName);​

​CubeName = Parent cube of the view to have the numeric attribute value retrieved.​
ViewName = Name of the view to have the numeric attribute value retrieved.​
AttributeName = Name of the attribute to retrieve the value.

A demonstration on how to use ViewAttrN

Use ViewAttrN to retrieve the Reference Number attribute, from the Employee cube’s default view.