TM1 Function for TI, HierarchyDeleteAllElements

Deletes all elements in a hierarchy.

What is the HierarchyDeleteAllElements function?

HierarchyDeleteAllElements deletes all elements in a hierarchy.

Where can the HierarchyDeleteAllElements function be used?


What is the syntax for HierarchyDeleteAllElements?

HierarchyDeleteAllElements (DimName, HierName)​;

​DimName = Dimension Name​
HierName = Hierarchy Name

A demonstration on how to use HierarchyDeleteAllElements

Delete all elements in the United Kingdom hierarchy from the Sales Region dimension.