Forum Discussion
Anonymous
5 years agoNot applicable
COMBINE FILTER
Hello everyone, I need to be able compare VALUE1 for each SCENARIO in graphs for each CLIENT and after selecting the SCENARIO in the graphs have the sum of VALUE2 for both clients. CLIENT SC...
- 5 years ago
Hi, Anonymous
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
Table:
You may create a measure as below.
Sum of value2 = CALCULATE( SUM('Table'[VALUE2]), FILTER( ALL('Table'), [SCENARIO] in DISTINCT('Table'[SCENARIO]) ) )If you select M and O, you will get 9 the result of sum of VALUE2 (3+6).
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-alq-msft
5 years agoCommunity Support
Hi, Anonymous
Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.
Table:
You may create a measure as below.
Sum of value2 =
CALCULATE(
SUM('Table'[VALUE2]),
FILTER(
ALL('Table'),
[SCENARIO] in DISTINCT('Table'[SCENARIO])
)
)
If you select M and O, you will get 9 the result of sum of VALUE2 (3+6).
Best Regards
Allan
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.