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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

Comparing an Overall Value with a Sliced Value of the same Column

I am building a report of survey results based on survey questions that are answered on an scale from Strongly Agree - Strongly Disagree.  For each question I am showing a card that indicates the overall percentage of answers that are either "Agree" or "Strongly Agree".  Easy enough.

 

I also have several slicers in my report, and as expected, when a value is selected in a slicer, the card value changes to show the percentage of answers that are either "Agree" or "Strongly Agree" for just that "slice" of the population.  However, I would like to be able to compare that sliced value to the overall value dynamically using a second card that shows the +/- vs. the overall value.

 

Lets say the overall (unsliced) value on the card is 75.00% - When I apply a slicer, the value of card #1 changes to 68.00%, I would like the value of card  #2 to read -7%.  How can I reference the "sliced" value to subtract it from the overall (unsliced) value?  Any thoughts would be much appreciated.

1 ACCEPTED SOLUTION
Ashish_Mathur
Super User
Super User

Hi,

 

Try this

 

=CALCULATE([your measure],ALL(Data))-[your measure]

 

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

3 REPLIES 3
Ashish_Mathur
Super User
Super User

Hi,

 

Try this

 

=CALCULATE([your measure],ALL(Data))-[your measure]

 

Hope this helps.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Anonymous
Not applicable

Worked perfectly.  Thank you!

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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.

Top Solution Authors
Top Kudoed Authors