Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Solved! Go to Solution.
Hi,
Try this
=CALCULATE([your measure],ALL(Data))-[your measure]
Hope this helps.
Hi,
Try this
=CALCULATE([your measure],ALL(Data))-[your measure]
Hope this helps.
Worked perfectly. Thank you!
You are welcome.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
112 | |
100 | |
76 | |
64 | |
63 |
User | Count |
---|---|
140 | |
105 | |
102 | |
81 | |
67 |