I am using this
Test=cancatenate(format(divide([a],[b]), "#.#%" & Unichar(10)), (" (" & if [a]=0, "0")& "/" & if ([b]=0, "0",[b])& ")"))
and my result comes like in this picture. My question is how can i put zero after decimal place when result comes as a number?
Go to Solution.
@mithiladas02 Try "#.0%" ?
View solution in original post
@mithiladas02 why you are even converting it to text or using format function, why not change the format with 2 decimal places, selected your measure and then format it here:
✨ Follow us on LinkedIn
Check my latest blog post The Power of Using Calculation Groups with Inactive Relationships (Part 1) (perytus.com) I would ❤ Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos to whoever helped to solve your problem. It is a token of appreciation!
⚡ Visit us at https://perytus.com, your one-stop-shop for Power BI-related projects/training/consultancy.⚡
Proud to be a Super User! Appreciate your Kudos 🙂 Feel free to email me with any of your BI needs.
@Greg_Deckler thanks. Your solution works .:)
Check out the News & Announcements to learn more.
Congratulations, the new Super User Season 2 for 2021 has started!
Check out the new Power Platform Community Connections gallery!