TM1 Function for TI, ViewAttrN

Returns a numeric attribute from a cube view.

Available In

TurboIntegrator

Definition

ViewAttrN returns a numeric attribute from a cube view.

Syntax

ViewAttrN(CubeNameViewNameAttrName);

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.

Video Demo

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