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

Power BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.

Reply
Anonymous
Not applicable

How to format up to 2 decimal places in DAX using FORMAT()

Hi All,

I am trying to dynamically change the currency symbol according to the currency selection in the slicer.

 

I am using the FORMAT function to display currency according to the currency selected in slicer

FORMAT(MeasuretoFormat,"$#,##0.##")

results as:

SaloniGupta_0-1635909777032.png

 

How to Format it up to 2 decimal places? so the value $1364. should be displayed as $1364.00

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Try like

FORMAT(MeasuretoFormat,"$#,##0.00")

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

4 REPLIES 4
amitchandak
Super User
Super User

@Anonymous , Try like

FORMAT(MeasuretoFormat,"$#,##0.00")

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Hello,

 

What if I want to format up to one decimal number?

For example. it is now showing like 85.32%

I want to change it to 85.3% using format in dax

 

Thank you in advance!

= FORMAT(MeasuretoFormat,".#%")

Anonymous
Not applicable

Hi @amitchandak 
That worked. Thanks a lot👍

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.