The ultimate Microsoft Fabric, Power BI, Azure AI, and SQL learning event! Join us in Stockholm, Sweden from September 24-27, 2024.
2-for-1 sale on June 20 only!
Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started
Hi Pro's,
I have measure which contains two measure and display result based on If condition: -
'Key Measures'[Gross Margin],"0.00%" the report shows as below:-
But if I use Format Function in Gross Margin:-
Format('Key Measures'[Gross Margin],"0.00%") the report changes to below
Please can anyone help me to use Two measures, one is Value and One is percent inside another measure without affecting the result.
Thanks in Advance
Hi @Anonymous ,
Try to use format function in formula.
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Thanks for reply.
I tried but not working. Same issue. Do you have any other option.
Hi @Anonymous ,
Unfortunately, I can't reproduce your issue. see if you can share the sample pbix file.
Please mask any sensitive data before uploading
Best Regards,
Liang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @amitchandak ,
Thanks for the reply.
But I am not looking for the slicer. I have row level data and I want between two measures one should display value other should display Percentage.
Please look into the measure I have shared earlier in the mail, it may give you some idea what I am trying to do.
Thanks
Amith D
Hello,
I'm having the exact same issue, please let me know if any solution was found.
Thanks,
Yoav
@Anonymous , seem like you trying to create a measure slicer. That that is the issue. You have returned a formatted number.
Dynamic formatting is now allowed yet
https://docs.microsoft.com/en-us/power-bi/desktop-custom-format-strings
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 June 2024 Power BI update to learn about new features.
User | Count |
---|---|
102 | |
96 | |
80 | |
62 | |
56 |
User | Count |
---|---|
256 | |
120 | |
112 | |
83 | |
71 |