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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

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
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.