TM1 Function for TI, HierarchySubsetElementDelete

Deletes an element from a subset using an index number.

What is the HierarchySubsetElementDelete function?

HierarchySubsetElementDeleteĀ deletes an element from a subset using an index number.

Where can the HierarchySubsetElementDelete function be used?


What is the syntax for HierarchySubsetElementDelete?

HierarchySubsetElementDelete(DimensionName,Ā HierarchyName,Ā SubsetName, Index);ā€‹

ā€‹DimensionNameĀ = Name of the dimension the subset is in.ā€‹
HierarchyNameĀ = Name of the Hierarchy the subset is in.ā€‹
SubsetNameĀ = Name of the subset the element is in.ā€‹
Index = Index number of the element to be deleted from a subset.

A demonstration on how to use HierarchySubsetElementDelete

UseĀ HierarchySubsetElementDeleteĀ to delete theĀ 5thĀ element in theĀ DepartmentĀ subset associated with theĀ EmployeeĀ hierarchy andĀ EmployeeĀ dimension.