TM1 Function for TI, ​​HierarchySubsetCreate

Creates an empty public subset in a hierarchy.

What is the HierarchySubsetCreate function?

HierarchySubsetCreate creates an empty public subset in a hierarchy.

Where can the HierarchySubsetCreate function be used?


What is the syntax for HierarchySubsetCreate?

HierarchySubsetCreate(DimName, HierName, SubName, [AsTemporary]);​

​DimName = the dimension that you want to create subset.​
HierName = The name of hierarchy in the dimension. ​
SubName = The name you want to assign the subset.​
AsTemporary = An optional argument that the specifies whether the subset being created is temporary. 1 indicates a temporary subset, 0 indicates a permanent subset=

A demonstration on how to use HierarchySubsetCreate

Use HierarchySubsetCreate to create the subset, New Created Subset, associated with the Employee hierarchy and Employee dimension.