Forum Discussion
How to get zero after concatenate Function
Hi,
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?
mithiladas02 Try "#.0%" ?
3 Replies
- Greg_DecklerCommunity Champion
mithiladas02 Try "#.0%" ?
- mithiladas02Helper I
Greg_Deckler thanks. Your solution works .:)
- parry2kSuper User
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.⚡