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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
e175429
Helper IV
Helper IV

Changing Date Format

Hello all,

 

This is my x-axis, with some of the months cut off because it's too long.

e175429_0-1733756688431.png

 

Is there any way to change the format to a month/year format like "Jan 23"?

 

Or are we bound to the formats listed in PBI?

e175429_1-1733756835663.png

 

Thank you!

1 ACCEPTED SOLUTION
Syk
Super User
Super User

You can format the date a ton of different ways by creating a new column. This should give you what you want.

Date Format =
FORMAT ( 'Date'[Date], "mmm" ) & " " & FORMAT ( 'Date'[Date], "yy" )

View solution in original post

8 REPLIES 8
Syk
Super User
Super User

You can format the date a ton of different ways by creating a new column. This should give you what you want.

Date Format =
FORMAT ( 'Date'[Date], "mmm" ) & " " & FORMAT ( 'Date'[Date], "yy" )

Hey Syk,

 

How do I get the dates to ascend in order?

e175429_0-1733761940717.png

 

There are different options to sort. If you select the chart and select the "..." in the top right, you can sort on different fields/values. You may also need to order your new column by your date column to ensure it's getting the correct order. Select your column and the column tools should pop up allowing you to sort your new column.

Syk_0-1733762798627.png

 

Sorry, I should've been more specific.

 

When I try to order the new column by Date I get this message:

e175429_0-1733768149552.png

I'm only given 2 options to sort the axis itself. This is one:

e175429_1-1733768230034.png

And this is the other:

e175429_2-1733768255810.png

 

 

 

Try ordering it by your month-year sort column.

I did not get a error but it's still out of wack.

e175429_0-1733769452700.png

 

Your year month sort column is sorted alphabetically. You need a Year Month Code to properly sort. 

Year Month Code = FORMAT('Date'[Date],"YYYYMM")

Then sort your columns by this and you should be good to go.

You are going straight to heaven!

 

Thank you kindly

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

Check out the July 2025 Power BI update to learn about new features.

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.