TM1 Function for TI, ViewColumnDimensionSet

Sets the dimension in a column position for a cube view.

What is the ViewColumnDimensionSet function?

ViewColumnDimensionSet sets the dimension in a column position for a cube view. 

Where can the ViewColumnDimensionSet function be used?

TurboIntegrator

What is the syntax for ViewColumnDimensionSet?

ViewColumnDimensionSet(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 top-most stack position. 2 indicates a position below 1, etc

A demonstration on how to use ViewColumnDimensionSet

Use ViewColumnDimensionSet to set the dimension Year in the column position for the default view as the top-most stacked position.