Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Anonymous
Not 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. 

 

CLIENTSCENARIOVALUE1VALUE2
AK46
AL28
AM63
BN88
BO96
BP72

 

Thanks!

1 ACCEPTED SOLUTION
v-alq-msft
Community Support
Community Support

Hi, @Anonymous 

 

Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.

Table:

e1.png

 

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).

e2.png

 

Best Regards

Allan

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

3 REPLIES 3
v-alq-msft
Community Support
Community Support

Hi, @Anonymous 

 

Based on your description, I created data to reproduce your scenario. The pbix file is attached in the end.

Table:

e1.png

 

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).

e2.png

 

Best Regards

Allan

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Fowmy
Super User
Super User

@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 🙂

YouTube  LinkedIn

Did I answer your question? Mark my post as a solution! and hit thumbs up


Subscribe and learn Power BI from these videos

Website LinkedIn PBI User Group

Anonymous
Not applicable

LMPT_0-1600352496111.png

 

If I select M and O, I get 5 the result of sum of VALUE2 (3+2)

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.