_remainderSet

Returns the set containing "member_expression" when the size of "set_expression" is greater than "numeric_expression"; i.e., a new member will be generated if the number of members in "set_expression" is larger than the specified "numeric_expression".

Syntax

_remainderSet ( member_expression,  set_expression ,
 numeric_expression )

Example

_remainderSet ( member ( aggregate ( currentMeasure within set 
[great_outdoors_company].[Products].[Products].[Product line] ) ,
 'Product Aggregate' , 'Product Aggregate' , [great_outdoors_company].
[Products].[Products] ) , [great_outdoors_company].[Products].
[Products].[Product line] , 1 )

Result

Quantity sold for Product Aggregate