Hi,
I Have a fact table which looks like:
SK_YearMonthID | SK_CustomerID | Available |
201201 | 223 | 5000 |
201201 | 223 | 5000 |
201201 | 223 | 10400 |
201201 | 223 | 10400 |
201201 | 223 | 3900 |
201201 | 223 | 1250 |
201201 | 223 | 2500 |
201201 | 223 | 7500 |
201201 | 223 | 7500 |
201201 | 223 | 3750 |
201201 | 223 | 3750 |
I want to sum up the distinct values? So rather than the sum being 60950 it needs to be 34300.
I was thinking on the lines:
SUM( ( NONEMPTY([Customer].[Customer Number].[Customer Number].members, [Year Month].[Year Month].[Year Month].Members) ,[Measures].[Available] )
Any ideas?
Thanks