TM1 Function for TI – HierarchySubsetDeleteAllElements
HierarchySubsetDeleteAllElements deletes all elements in a subset from a hierarchy.
HierarchySubsetDeleteAllElements(DimensionName, HierarchyName, SubsetName);
DimensionName = Name of the dimension the subset is made of.
HierarchyName = Name of the Hierarchy the subset is made of.
SubsetName = Name of the subset.
Note: The subset must be public
Use HierarchySubsetDeleteAllElements to delete all elements from the Departments subset associated with the Employee hierarchy and Employee dimension.