What is the syntax for SubsetCreateByMDX?
SubsetCreateByMDX(DimName, SubName, [AsTemporary] )
- DimName = Name of the Dimension where we are creating subset.
- SubName = Name of the subset that we want to assign to the subset.
- MDX_Expression = Query that builds the subset.
- [AsTemporary] = This is an optional parameter and mainly it is used to create temporary subset. The argument values are 1 and 0.
- 1 = creates a temporary subset
- 0 = creates the permanent subset.