Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
khush19
Resolver I
Resolver I

PowerBI- once Concatenate string with decimal value return value doesnt show 2 digit after decimal

Hi,

 

I have 2 columns Amount and currency,

Based on currency i have to show values in Card.

 

I have created Measure

PaymentReceived = SWITCH(TRUE(),
MAX(Report[Currency])="AUD",CONCATENATE("$",[TotalCalculatedAmount]),
MAX(Report[Currency])="USD",CONCATENATE("$",[TotalCalculatedAmount]),
MAX(Report[Currency])="MYR",CONCATENATE("RM",[TotalCalculatedAmount])
)
 
But this doesnt 2 digits after decimal and thosand seperator.
I am setting up the
powerbicurrency.png
But it isnot working and i tried Format also but not working
5 REPLIES 5
amitchandak
Super User
Super User

@khush19 , try like

PaymentReceived = SWITCH(TRUE(),
MAX(Report[Currency])="AUD",CONCATENATE("$",round([TotalCalculatedAmount],2)),
MAX(Report[Currency])="USD",CONCATENATE("$",round([TotalCalculatedAmount],2)),
MAX(Report[Currency])="MYR",CONCATENATE("RM",round([TotalCalculatedAmount],2))
)

 

But my suggestion would be show symbol in a separate column Create a Column with the symbol and rename it the visual with One Character and use that near to value field

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
parry2k
Super User
Super User

@khush19 once you used concatenate function, your measure becomes a text, it is no more a number, although there is no solution for this if you are dealing with multiple currencies except using calculation groups. You can always use format function to set the decimal place but it will still be a text.

 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!

 

 

 

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Hi Parry2K,

 

Thanks for the reply,i tried Format but in that also it doesnt return 2 digit after decimal.

Can you please give example which you think will work.

@khush19 try this

 

PaymentReceived = 

SWITCH(TRUE(),
MAX(Report[Currency]) IN { "AUD", "USD" }, "$",
MAX(Report[Currency])="MYR","RM"
) & 
FORMAT( [TotalCalculatedAmount], "#0.00" ) 

I would  Kudos if my solution helped. 👉 If you can spend time posting the question, you can also make efforts to give Kudos whoever helped to solve your problem. It is a token of appreciation!



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

Thanks Patty2K , it worked 🙂

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors