TM1 Function for TI, ViewRowDimensionSet

Sets the row for a cube view.

What is the ViewRowDimensionSet function?

ViewRowDimensionSet sets the row for a cube view. 

Where can the ViewRowDimensionSet function be used?


What is the syntax for ViewRowDimensionSet?

ViewRowDimensionSet(CubeName, ViewName, DimName, StackPosition)​;

​CubeName = Cube Name​
ViewName = View Name​
DimName = Dimension Name​
Stack Position = A number that points the stack position of the dimension in the view. 1 indicates the left-most stack position. 2 indicates a position to the right of 1, etc

A demonstration on how to use ViewRowDimensionSet

Use ViewRowDimensionSet to set Year dimension to the 1st position for the default view in the Sales Quota cube.