Here is – essentially for my own future reference – a trick that Reed Jacobson posted a while ago. I didn’t use it yet but this will come in handy at some point.
WITH
SET [TCat] AS TopCount(
[Product].[Subcategory].[Subcategory],10,[Measures].[Sales Amount]
)
MEMBER [Product].[Subcategory].[Other] AS
Aggregate([Product].[Subcategory].[Subcategory] – TCat)
SELECT { [Measures].[Sales Amount] } ON COLUMNS,
TCat + [Other] ON ROWS
FROM [Adventure Works]
;
Advertisement