TM1 Function for TI, ViewAttrS

Returns a string from a cube view’s attribute.

What is the ViewAttrS function?

ViewAttrS returns a string from a cube view’s attribute.

Where can the ViewAttrS function be used?

TurboIntegrator

What is the syntax for ViewAttrS?

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

Use the ViewAttrS to retrieve the Description’s attribute from the Employee cube’s default view.