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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request 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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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