It works! Here's the solution:
=CUBESET("Cube"; C49; "Top Products")
C49 contains the set_expression, which contains TopCount and Except functions.
TOPCOUNT(([Store].[Store].[XX],[Date].[Month].&[XX],[Item].[Division].&[XX],EXCEPT([Item].[Item].CHILDREN,{[Item].[Item].&[XX], [Item].[Item].&[XX]})),30,[Measures].[Sales])
I then use a CUBERANKEDMEMBER formula to retreive the list of items. One strange thing to note is that despite using a European version of Excel where semi-colons are used as formula separators, I had to use commas in the TopCount function.
Hope this helps anyone else in need!
Regards,
notski
Bookmarks