Forum Discussion
Anonymous
6 years agoNot applicable
ALLSELECTED - ALL - ALLEXCEPT Confusion
Hi All, I'm really sorry for that. There was tons of article on web about this topic but I'm still confused. Please help me ! I have a table as below. I have a value it depends on Custome...
- 6 years ago
It sounds like you want to remove the filters from both your Shop and Customer columns. This measure should do that. It is a small change from the previous proposed solution.
Total Value = CALCULATE(SUM(ZV_CRM03_Q010[Value]),ALL(ZV_CRM03_Q010[Shop], ZV_CRM03_Q010[Customer]))Regards,
Pat
az38
Community Champion
6 years agoAnonymous
Your data model is not clear but maybe it will help
Total Value = CALCULATE(SUM(ZV_CRM03_Q010[Value]),ALL(ZV_CRM03_Q010[Shop]))
Anonymous
6 years agoNot applicable
Hi az38
I have only one table named as ZV_CRM03_Q010
I tried your solution. it is returning correct values on table but when I make filtering on Shop it is returning false values.
I want to show same values for customers on second image.
- hohlick6 years ago
Continued Contributor
Hi Anonymous
Try this
=
SUMX(
ALL( 'ZV_CRM03_Q010'[Shop] );
CALCULATE(
SUM( 'ZV_CRM03_Q010'[Value] )
)
)- Anonymous6 years agoNot applicable
- mahoneypat6 years ago
Microsoft Employee
It sounds like you want to remove the filters from both your Shop and Customer columns. This measure should do that. It is a small change from the previous proposed solution.
Total Value = CALCULATE(SUM(ZV_CRM03_Q010[Value]),ALL(ZV_CRM03_Q010[Shop], ZV_CRM03_Q010[Customer]))Regards,
Pat