TM1 Function for TI, ViewSubsetAssign

Assigns a named subset in a view.

What is the ViewSubsetAssign function?

ViewSubsetAssign assigns a named subset for a view. 

Where can the ViewSubsetAssign function be used?


What is the syntax for ViewSubsetAssign?

ViewSubsetAssign(CubeName, ViewName, DimName, SubName)​;

CubeName = Cube Name​
ViewName = View Name​
DimName = Dimension Name​
SubName = Subset Name

A demonstration on how to use ViewSubsetAssign

Use ViewSubsetAssign to set the Quarter subset from the Period dimension to the default view in the Sales Quota cube.