Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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 | SCENARIO | VALUE1 | VALUE2 |
| A | K | 4 | 6 |
| A | L | 2 | 8 |
| A | M | 6 | 3 |
| B | N | 8 | 8 |
| B | O | 9 | 6 |
| B | P | 7 | 2 |
Thanks!
Solved! Go to Solution.
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.
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.
@Anonymous
Can you provide an example of the expected results?
________________________
If my answer was helpful, please consider Accept it as the solution to help the other members find it
Click on the Thumbs-Up icon if you like this reply 🙂
⭕ Subscribe and learn Power BI from these videos
⚪ Website ⚪ LinkedIn ⚪ PBI User Group
If I select M and O, I get 5 the result of sum of VALUE2 (3+2)
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 37 | |
| 33 | |
| 32 | |
| 29 |
| User | Count |
|---|---|
| 133 | |
| 88 | |
| 85 | |
| 68 | |
| 64 |