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
xiumi_hou
Post Partisan
Post Partisan

Urgent... How to sort date for line chart x-axis.

Dear all,

 

I want my line chart date x-axis from the olddet to newest.. But now I do not know why it not in order.. .Can someone help me? Thanks

URGENT.JPG

1 ACCEPTED SOLUTION
v-lid-msft
Community Support
Community Support

Hi @xiumi_hou ,

 

Could you please check the data type of the column and the setting of "Sort By Column" ?

 

5.PNG

 

Also check the setting of "Sort By" in the chart.

 

6.PNG

 

Best regards,

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

6 REPLIES 6
v-lid-msft
Community Support
Community Support

Hi @xiumi_hou ,

 

How about the result after you follow the suggestions mentioned in my original post?Could you please provide more details about it If it doesn't meet your requirement?

 

Best regards,

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
v-lid-msft
Community Support
Community Support

Hi @xiumi_hou ,

 

Could you please check the data type of the column and the setting of "Sort By Column" ?

 

5.PNG

 

Also check the setting of "Sort By" in the chart.

 

6.PNG

 

Best regards,

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Community Support Team _ Dong Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Ashish_Mathur
Super User
Super User

Hi,

The Date on the X-axis of the chart should be dragged from the Calendar Table.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi Thanks for asking. Do you mean I can not use the date from my case day, I need to create a seperate calendar table? Thanks.

@Ashish_Mathur 

Yes, you need to create a Calendar Table and build a relationship from the Date column of your base data table to the Date column of your Calendar Table.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi @Ashish_Mathur ,

 

I dragged from the calendar table... The order still show wrong result. Do you have any suggestion? Thanks

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.