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
Anonymous
Not applicable

How to change date display format of Month/Year on Chart X-Axis

I have chart that I want to change the Y-Axis format that is currently reading as "2019 - January" to "01/19" How would I do that? It's coming from my date table.

 

MM-YY1.png

2 REPLIES 2
amitchandak
Super User
Super User

In your date table you can create a new column

 

Month year = format([Date],"MM-YY")

But this will not sort correctly

So, create sort Column

Month year sort= format([Date],"YYMM") and mark this as sort column of the first one an then use the first one.

https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column

 

I am hosting a webinar on 25th April on Power BI, Check Details - https://www.linkedin.com/posts/amitchandak78_webinar-tech-techforgood-activity-6658266754378231808-y...

 

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
th3h0bb5
Resolver II
Resolver II

Honestly your best bet is to use a proper Date Table that has a MonthNum column and something like ShortYear as well.

 

If you're unable to do that, you can create three calculated columns to get a very close approximation of what you want.

MonthNum = MONTH( 'Table'[Date])

YearShort = RIGHT(YEAR(Table[Date]),2)

Month Year = Sales[Month] & "/" & Sales[YearShort]
 
example.png

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors