ViewRowDimensionSet

ViewRowDimensionSet sets a row dimension for a view.

This function is valid in TurboIntegrator processes only.

Syntax

ViewRowDimensionSet(CubeName, ViewName, DimName, StackPosition);

Argument

Description

CubeName

The parent cube of the view for which you are setting the row dimension.

ViewName

The view for which you are setting the row dimension.

DimName

The dimension you want to set as a row dimension for the view.

StackPosition

A number that indicates the stack position of the dimension in the view. This is a 1-based number. 1 indicates the left-most stack position. 2 indicates a position to the right of 1, and so on.

Note: It is possible for a TM1® client to set a Tm1p.ini parameter (BrowseDisplayReadsRightToLeft=T) that reverses the orientation of data in the Cube Viewer. When the orientation of data is reversed, the stack positions are also reversed. 1 indicates the right-most stack position. 2 indicates a position to the left of 1, and so on.

Example

ViewRowDimensionSet('98sales', 'Quarter1', 'Month',1)

This example sets Month as a row dimension for the 1Quarter view of the 98sales cube. In the event of stacked row dimensions, Month is placed in the left-most position.