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?


Which TM1 Server version is this function available for?

Version 11 and 12

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.