Showing results for 
Search instead for 
Did you mean: 
Helper IV
Helper IV

Help with FORMAT

Hello all!


I created a calculated column to format other column with some Net Sales values.



test = FORMAT(Summary[Y5 NS (USD)];"$#,##0,,M")



Basically, if I have a value of $ 17.086.863 , format returns $17M.


But, if I have $ 3.500.000 , format returns $4M.  But I need $3.5M.


Any idea how to solve this?


Best Regards,


Helper IV
Helper IV

I don't know if it's the best solution, but instead of using FORMAT, I created a calculated column with the following expression:


Test3 = "$"&ROUNDDOWN(Summary[Y5 NS (USD)]/1000000;1)&"M"
Super User IV
Super User IV

@Gdps , @parry2k has provided the solution. You can also refer to this document:

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

Super User III
Super User III

@Gdps try this


test = FORMAT(Summary[Y5 NS (USD)];"$#,##0.00,,M")


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.

Hello @parry2k 


Did not work :S


$3.500.000 become $3,500,00.00M


$17.086.863 become $17,086,863.00M



Helpful resources

MBAS on Demand

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

July 2021 Update 768x460.png

Check it out!

Click here to read more about the July 2021 Updates

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

Urdu Hindi D365 Bootcamp 768x460.png

Urdu Hindi D365 Bootcamp

Dont miss our very own April Dunnam’s The Developer Guide to the Galaxy! Find out what the Power Platform has to offer for the traditional developer.

Top Solution Authors
Top Kudoed Authors