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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
powerinM
Helper II
Helper II

Dax Format

Hi: I would like to format the values in value column in Millions such as 1.2M or 1.23M (if the value is 1,230,000). However, the following syntax is currently chopping it off. Can you please let me know what would be the correct syntax to achieve my desired formatting?

 

 

Capture.GIF

 

2 ACCEPTED SOLUTIONS

Capture.GIF

 


@Icey wrote:

Hi @powerinM ,

You can change your column like this:

Format_Amount = FORMAT('Table'[Value],"#,##,,.00M")

Dax Format.PNG

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.


 

Thanks Icey. Can also please assist me in formating the values in thousands in similar manner ? highlighted in underline.

 

View solution in original post

Icey
Community Support
Community Support

Hi @powerinM ,

You can use this:

Format_Amount = FORMAT('Table'[Value],"#,.00K")

Dax Format - follow.PNG

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

5 REPLIES 5
Icey
Community Support
Community Support

Hi @powerinM ,

 

Is this problem sloved?
 
If it is sloved, could you kindly accept it as a solution to close this case?  
 
If not, please let me know.  
 
Best Regards
Icey
Ashish_Mathur
Super User
Super User

Hi,

This one works

=FORMAT(Table1[Value]/1000000,"#,##0.00,,M")

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
Icey
Community Support
Community Support

Hi @powerinM ,

You can change your column like this:

Format_Amount = FORMAT('Table'[Value],"#,##,,.00M")

Dax Format.PNG

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Capture.GIF

 


@Icey wrote:

Hi @powerinM ,

You can change your column like this:

Format_Amount = FORMAT('Table'[Value],"#,##,,.00M")

Dax Format.PNG

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.


 

Thanks Icey. Can also please assist me in formating the values in thousands in similar manner ? highlighted in underline.

 

Icey
Community Support
Community Support

Hi @powerinM ,

You can use this:

Format_Amount = FORMAT('Table'[Value],"#,.00K")

Dax Format - follow.PNG

 

Best Regards,

Icey

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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