Forum Discussion
Totaling Multiple Filtered Measures
- Anonymous6 years ago
Hi Anonymous ,
Please check the measure below.
Measure = CALCULATE ( DISTINCTCOUNT ( 'Table'[case] ), FILTER ( ALLSELECTED ( 'Table' ), 'Table'[date] >= EDATE ( TODAY (), -12 ) ) ) * 20 + CALCULATE ( DISTINCTCOUNT ( 'Table'[case] ), FILTER ( ALLSELECTED ( 'Table' ), 'Table'[date] >= EDATE ( TODAY (), -60 ) ) ) * 5Best Regards,
Jay
Community Support Team _ Jay Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi Anonymous ,
Please check the measure below.
Measure =
CALCULATE (
DISTINCTCOUNT ( 'Table'[case] ),
FILTER ( ALLSELECTED ( 'Table' ), 'Table'[date] >= EDATE ( TODAY (), -12 ) )
) * 20
+ CALCULATE (
DISTINCTCOUNT ( 'Table'[case] ),
FILTER ( ALLSELECTED ( 'Table' ), 'Table'[date] >= EDATE ( TODAY (), -60 ) )
) * 5
Best Regards,
Jay
Community Support Team _ Jay Wang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
- Anonymous6 years agoNot applicable
Thank you so much!
- Anonymous6 years agoNot applicable
I have one more question as well using the below dax statement. I want to add another total to this but i want to filter by a specific value name in a column instead of date. What would that entail?
Measure = CALCULATE ( DISTINCTCOUNT ( 'Table'[case] ), FILTER ( ALLSELECTED ( 'Table' ), 'Table'[date] >= EDATE ( TODAY (), -12 ) ) ) * 20 + CALCULATE ( DISTINCTCOUNT ( 'Table'[case] ), FILTER ( ALLSELECTED ( 'Table' ), 'Table'[date] >= EDATE ( TODAY (), -60 ) ) ) * 5 - Anonymous6 years agoNot applicable
Is there anyway to get this to add up correctly when you take the individual filter off too? I am finding that it adds quite a bit to the score number when taking the individual filter off by person and looking at everyone as a whole.