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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

Format Thousands and Millions to M and MM

I need help with formatting numbers in Power BI. The default is to represent thousands with K and millions with M. My company uses M to represent thousands and MM for millions. So 104,000 would show 104M and 1,400,000 would be 1.4MM. Is there a way to change these settings or create a measure to format the numbers like this?

1 ACCEPTED SOLUTION
truptis
Community Champion
Community Champion

Hi @Anonymous ,

Please try this:

Result = SWITCH(TRUE(), Tablename[Columnnane] < 1000, concatenate ("$", Tablename[Columnname]), Tablename[Columnname]>=1000, concatenate ("$", concatenate (

(Tablename[Columnnane]/1000, "M")), Tablename[Columnname]>=1000000, Concatenate ("$", concatenate (Tablename[Columnname]/1000000,"MM"))

 

 

@Anonymous -> please hit the thumbs up and mark it as a solution if it helps you. Thanks.

View solution in original post

6 REPLIES 6
Kerry_M
Helper II
Helper II

I also need to do this to my reports and have dozens of measures that need this formatting applied. Is there no way to add a GLOBAL format to Power BI so that I can simply choose the global format from the menu (the way I choose Currency or Percent formatting?)

Anonymous
Not applicable

Great Answer 

I have the same issue. Is there a global setting in Power BI which can replace the default M to mm?

Anonymous
Not applicable

I am more looking for settings. I have a lot of different measures that involved these numbers so would be tough to try to do this for every single measure or aggregate function. Also, this would mean the numbers in any visuals would still have the K or M rather than M or MM

truptis
Community Champion
Community Champion

Hi @Anonymous ,

Please try this:

Result = SWITCH(TRUE(), Tablename[Columnnane] < 1000, concatenate ("$", Tablename[Columnname]), Tablename[Columnname]>=1000, concatenate ("$", concatenate (

(Tablename[Columnnane]/1000, "M")), Tablename[Columnname]>=1000000, Concatenate ("$", concatenate (Tablename[Columnname]/1000000,"MM"))

 

 

@Anonymous -> please hit the thumbs up and mark it as a solution if it helps you. Thanks.

Hello, I tried it and it didnt work, would you be able to guide me in more details since I am a beginner on Power BI. this done through measure?

 

Thanks,

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.