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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
SFanalyst
Regular Visitor

How to calculate difference after different filter settings?

I have a table that shows Number of Services Rendered and Amount of Funding Allocation. I've also created a group of the Amount of Funding Allocation so I have organizations grouped between ($100-200, $201-500, etc.) I want to create a slicer of the group and then see the on Number of Services Rendered based on the selection I remove from the group in a slicer. In other word, if I unselected those agencies that are in the group of $100-200, how many services rendered would that impact? 

 

 

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

@SFanalyst,

 

You may add a measure as follows.

Measure =
CALCULATE ( SUM ( Table1[Number of Services Rendered] ), ALL ( Table1[group] ) )
    - SUM ( Table1[Number of Services Rendered] )
Community Support Team _ Sam Zha
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

1 REPLY 1
v-chuncz-msft
Community Support
Community Support

@SFanalyst,

 

You may add a measure as follows.

Measure =
CALCULATE ( SUM ( Table1[Number of Services Rendered] ), ALL ( Table1[group] ) )
    - SUM ( Table1[Number of Services Rendered] )
Community Support Team _ Sam Zha
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors