If you want to filter the initial Top 5 product set:
{[Measures].[Profit]} ON COLUMNS,
GENERATE(Filter(TopCount([Product].[Label].MEMBERS, 5,
[Measures].[Profit]),
NonEmptyCrossJoin([Broker].[Agent Name].MEMBERS,
{Product.CurrentMember}, 1).Count >= 5),
{Product.CurrentMember} * TopCount(
[Broker].[Agent Name].MEMBERS, 5, [Measures].[Profit]))
ON ROWS
FROM [Sales]
- Deepak
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!