The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event: Join us in Stockholm, September 24-27, 2024.
Save €200 with code MSCUST on top of early bird pricing!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
I have the below measure being used to allow a user to change the metric being displayed on a bar chart. I cannot get any type of conditional formatting to work on the index 1 and defaul values that allow them to be displayed as a percentage. How can I accomplish this? I tried wrapping this
COUNT('Complete Results'[Recipient Email]) / CALCULATE (COUNT('Complete Results'[Recipient Email]),ALLSELECTED())*100
in Format(Value,"Percent") and some otehr things I found on the forums, but none of them seemed to work.
Any help is appreciated.
According to this post it is not supported https://community.powerbi.com/t5/Desktop/Creating-a-dynamic-chart-with-formats-Number-and-Percentage...
Are there any workarounds or another way I can accomplish teh same results?
Solved! Go to Solution.
@ZHelbert2277 , Create measure like this
COUNT('Complete Results'[Recipient Email]) / CALCULATE (COUNT('Complete Results'[Recipient Email]),ALLSELECTED())
From measure tool , option you will see once have measure selected in fields pane. You can mark it as % (There is a symbol)
refer here
https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-measures#organizing-your-measures
Second, if you are using a measure slicer prefer field parameters or calculation groups
@ZHelbert2277 , Create measure like this
COUNT('Complete Results'[Recipient Email]) / CALCULATE (COUNT('Complete Results'[Recipient Email]),ALLSELECTED())
From measure tool , option you will see once have measure selected in fields pane. You can mark it as % (There is a symbol)
refer here
https://docs.microsoft.com/en-us/power-bi/transform-model/desktop-measures#organizing-your-measures
Second, if you are using a measure slicer prefer field parameters or calculation groups
I will try this and see if it works, thank you!
Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.
Check out the August 2024 Power BI update to learn about new features.
Learn from experts, get hands-on experience, and win awesome prizes.
User | Count |
---|---|
114 | |
80 | |
79 | |
48 | |
39 |
User | Count |
---|---|
149 | |
115 | |
67 | |
64 | |
58 |