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

Vote for your favorite vizzies from the Power BI Dataviz World Championship submissions. Vote now!

Reply
vpatel55
Kudo Commander
Kudo Commander

Format to two decimal places

I'm trying to use FORMAT to get a measure to report to two decimal places. For example, £1.73M. However, the output is only showing £1.7M. It needs to be manually formatted because it will format part of a larger sentence.

 

Here is the formula being used. Any help would be appreciated.

 

 

FORMAT([value],"£#,##,,.0M"

 

 

Thanks.

1 ACCEPTED SOLUTION
AntonioM
Solution Sage
Solution Sage

Hi @vpatel55 ,

 

I think you need two 0s at the end to force the decimal places, instead of the #s earlier. 

 

 

FORMAT([Value],"£#,,.00M")

 

 

AntonioM_0-1662725605958.png

 

View solution in original post

4 REPLIES 4
vpatel55
Kudo Commander
Kudo Commander

Fabulous, thanks @AntonioM !

AntonioM
Solution Sage
Solution Sage

Hi @vpatel55 ,

 

I think you need two 0s at the end to force the decimal places, instead of the #s earlier. 

 

 

FORMAT([Value],"£#,,.00M")

 

 

AntonioM_0-1662725605958.png

 

I wish it were this easy for me. Maybe you know what is wrong in my measure?

simonqish_0-1737367923567.png


No matter what I try, I can't get it to give me a proper value of $3.36. It gives me $3.30 instead. Same for other outputs of this measure: 31.50 insted of 31.53 and 1.40 instead of 1.39.
Seems it is rounding to the first decimal and just giving me zero as the second one.

I'd really appreciate any help on this.

hi @simonqish ,

 

So that should work as it is. I've tried it with a couple of numbers just in a table and it formats to two decimals like you're after.

 

AntonioM_0-1738232786311.png

 

What visual are you using that in? It could be forcing its own formatting somehow.

 

Another option, if you only need the value on its own, you can keep the measure as a number (so without FORMAT) then set it to currency and two decimal places up in the 'Measure Tools'.

 

AntonioM_4-1738233047258.png

 

AntonioM_1-1738232970665.png

 

AntonioM_3-1738233014093.png

 

 

 

 

 

 

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

Vote for your favorite vizzies from the Power BI World Championship submissions!

Sticker Challenge 2026 Carousel

Join our Community Sticker Challenge 2026

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

January Power BI Update Carousel

Power BI Monthly Update - January 2026

Check out the January 2026 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.