Re: Custom MDX Distinct Count -
09-07-2006
, 12:52 AM
Assuming that each leaf member of the Card Number dimension represents a
distinct card, and that what you meant by "With Levels: Load, Redeem,
Unknown" was actually members, not levels of the Transaction Type
dimension:
Count(Filter([Card Number].[Card Number].Members,
([Measures].[Transaction Count],
[Transaction Type].[Load]) >= 2 And
([Measures].[Transaction Count],
[Transaction Type].[Load]) <= 4 And
([Measures].[Transaction Count],
[Transaction Type].[Redeem]) >= 1))
- Deepak
Deepak Puri
Microsoft MVP - SQL Server
*** Sent via Developersdex http://www.developersdex.com *** |