ViewAttrN

ViewAttrN returns a numeric attribute for a specified view.

This function is valid in TM1® TurboIntegrator processes only.

Syntax

ViewAttrN(CubeName, ViewName, AttrName);

Argument

Description

CubeName

A valid cube name.

ViewName

A valid view name.

AttrName

The attribute for which you want to retrieve a value. This argument must be a valid attribute of the view.

Example

In this example, the function returns the numeric value for the Category_Code attribute of the Product view of the Sales cube.

ViewAattrN('Sales', 'Product', 'Category_Code');