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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors
Top Kudoed Authors