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.