What is the SubsetGetSize function?

SubsetGetSize returns the number of elements in a subset. 

Where can the SubsetGetSize function be used?


Which TM1 Server version is this function available for?

Version 11 and 12

What is the syntax for SubsetGetSize?

SubsetGetSize(DimName, SubsetName);

DimName = Name of the Dimension the subset is in.​
SubsetName = Name of the subset that we want to retrieve its size.

A demonstration on how to use SubsetGetSize

Use SubsetGetSize to retrieve the size of the ‘All Elements’ subset in the Product Scorecard dimension.