TM1 Function for TI, ​SubsetDestroy

Deletes a subset.

What is the SubsetDestroy function?

​SubsetDestroy deletes a subset. 

Where can the SubsetDestroy function be used?

TurboIntegrator

Which TM1 Server version is this function available for?

Version 11 and 12

What is the syntax for SubsetDestroy?

SubsetDestroy(DimName, SubsetName);​

​DimName = Name of the Dimension where subset exists.​
SubsetName = Name of the subset from where we want to delete all elements. 

A demonstration on how to use SubsetDestroy

Use SubsetDestroy to delete ‘All Elements’ subset in the Product Scorecard dimension.