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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
stribor45
Post Prodigy
Post Prodigy

Line Chart - x axis

I have the table where my data column looks like this but my visual is showing data ordered by months (January comes before December) I would like the first data point to be the oldest one. So x-axis should start with July 2022, and August 2022........March 2023 and April 2023.  Can this be accoplished?

 

 

 

 

stribor45_0-1680548550463.png

stribor45_2-1680548683073.png

 

 

2 ACCEPTED SOLUTIONS
amitchandak
Super User
Super User

@stribor45 , better use year of axis and expand and switch off concatenate label -off

 

Or sort your month on this column

 

month  = if(month([Date]) <7, month([Date])+6 , month([Date])-6)

 

How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c

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

View solution in original post

stribor45
Post Prodigy
Post Prodigy

Reformating the date to MMMM YYYYY and changing the axis type to "Categorical" resolved it for me.

 

stribor45_0-1681173951013.png

 

View solution in original post

3 REPLIES 3
NicJik
New Member

Thank u for help!

stribor45
Post Prodigy
Post Prodigy

Reformating the date to MMMM YYYYY and changing the axis type to "Categorical" resolved it for me.

 

stribor45_0-1681173951013.png

 

amitchandak
Super User
Super User

@stribor45 , better use year of axis and expand and switch off concatenate label -off

 

Or sort your month on this column

 

month  = if(month([Date]) <7, month([Date])+6 , month([Date])-6)

 

How to Create Sort Column and Solve Related Errors:
https://www.youtube.com/watch?v=KK1zu4MBb-c

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

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.