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
Super User

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

New Power BI Features
Field Parameters :
Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin !! Proud to be a Super User!
Want To Learn Power BI
Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
!! Subscribe to my youtube Channel !!
Super User
Super User

@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

June 2022 update 768X460.jpg

Check it out!

Click here to read more about the June 2022 updates!

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

Power BI Dev Camp Session 23 768x460.jpg

Check it Out!

Mark your calendars and join us on Thursday, June 30 at 11a PDT for a great session with Ted Pattison!

June 20 episode 7 with aka link 768x460.jpg

The Power BI Community Show

Join us on June 20 at 11 am PDT when Kim Manis shares the latest on Azure Synapse analytics, the Microsoft Intelligent Data Platform, and notable Power BI Updates from Microsoft Build 2022.

Top Solution Authors