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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

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

 

 

1 ACCEPTED SOLUTION
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

2 REPLIES 2
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

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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