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 want to set up something akin to a slicer that would allow switching the color saturation of a shape map visual between the total value by state and the average value by state -- is this something that is currently possible in Power BI?
Solved! Go to Solution.
I answered my own question! I just created a table with bystate averages, medians, an sums by state -- tagging them as such in a "calculation" column. I then just created a slicer based on that calculation column and made the color saturation the sum of the "calculation amount".
Still open to other ideas if anyone has any, but this seemed to do the trick.
(Also included a has one value filter on teh calculation column, so no nonsensical sums would be displayed).
A much better way to do it using SWITCH:
https://sqlserverbi.blog/2014/04/19/creating-a-dynamic-parameterized-measure-in-dax/
I answered my own question! I just created a table with bystate averages, medians, an sums by state -- tagging them as such in a "calculation" column. I then just created a slicer based on that calculation column and made the color saturation the sum of the "calculation amount".
Still open to other ideas if anyone has any, but this seemed to do the trick.
(Also included a has one value filter on teh calculation column, so no nonsensical sums would be displayed).
A much better way to do it using SWITCH:
https://sqlserverbi.blog/2014/04/19/creating-a-dynamic-parameterized-measure-in-dax/
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 |
---|---|
109 | |
98 | |
77 | |
66 | |
54 |
User | Count |
---|---|
144 | |
104 | |
101 | |
86 | |
64 |