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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
xiumi_hou
Post Partisan
Post Partisan

Urgent... About X-AXIS date

Dear all,

 

I have a caldenar table.Which include two columns. 1. Date column (Ex. November 11, 2019) and a formatted text column (Ex. Nov 11,2019)

 

And I have a call table, one column is session date (Eg, November 11,2019)

 

I have made relationship between session date and Date column in caldenar table. And put the formatted text column as line chart X-axis.... 

I found my x-axis are not sort by the date.... Any suggestions? Thank you 

URGENT.JPG

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

@xiumi_hou ,

 

If the x-axis is text format, they will be sorted by the first letter, If you want to sort axis by date, you need to change the date column from text format to date format.

 

Community Support Team _ Jimmy Tao

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

2 REPLIES 2
v-yuta-msft
Community Support
Community Support

@xiumi_hou ,

 

If the x-axis is text format, they will be sorted by the first letter, If you want to sort axis by date, you need to change the date column from text format to date format.

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

vanessafvg
Super User
Super User

@xiumi_hou  in the modelling tab in your menu, tell it in the sort by column to sort by your date column





If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




Helpful resources

Announcements
PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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