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.
Hi,
I've created a line chart that shows a value per year. This value is dynamic and is obtained from a switch statement, in which the user selects a value from a dropdown slicer and the measure adjusts accordingly. This works as intended but the units in the chart, although set to "Auto" do not change. Since this measure can represent percentages or absolute numbers is there a way to have the units change as the user selects the dynamic measure?
Thanks.
Hi @qmest
Maybe you can achieve dynamic formatting using Format in below way. I found a similar case , you can refer to it .
https://community.powerbi.com/t5/Desktop/Display-unit-for-dynamic-measure/m-p/794800
Best Regard
Community Support Team _ Ailsa Tao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi,
I'm not sure how this applies to what i'm trying to do? Is there some sort of example that you can provide?
Thanks.
@qmest , for that you have to use calculation group, if you format the measure then if will become a text measure
calculation groups
https://www.sqlbi.com/blog/marco/2020/07/15/creating-calculation-groups-in-power-bi-desktop/
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 |
---|---|
114 | |
104 | |
77 | |
67 | |
63 |
User | Count |
---|---|
144 | |
107 | |
105 | |
82 | |
69 |