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
pang22
Helper II
Helper II

show in "MMM" in x-axis

Hi,

 

How to transform the month to show in "MMM" (Jan, Feb) abbreviations and show the corresponding year in the x-axis?

Thanks.

 

pang22_0-1713493595989.pngpang22_1-1713493610293.png

 

2 ACCEPTED SOLUTIONS
ryan_mayu
Super User
Super User

@pang22 

you can use FORMAT(date,"mmm")

https://learn.microsoft.com/en-us/dax/format-function-dax?wt.mc_id=DP-MVP-5004616

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




View solution in original post

Ashish_Mathur
Super User
Super User

Additionally, create a Calendar Table.


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

View solution in original post

4 REPLIES 4
Ashish_Mathur
Super User
Super User

Additionally, create a Calendar Table.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/
ryan_mayu
Super User
Super User

@pang22 

you can use FORMAT(date,"mmm")

https://learn.microsoft.com/en-us/dax/format-function-dax?wt.mc_id=DP-MVP-5004616

 

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




After create to "MMM" format, how to sort the month in correct order?

pang22_0-1713499393457.png

 

create a number column like 202401, 202402, 202403.

=year(date)*100+month(date)

then sort the month name column by the number column

 

https://learn.microsoft.com/en-us/power-bi/create-reports/desktop-sort-by-column?tabs=powerbi-deskto...

 





Did I answer your question? Mark my post as a solution!

Proud to be a Super User!




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.