cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
BaluChalla
Helper I
Helper I

Sort x-axis based on date column

Hi Team,

How to sort x-axis based on date column.

 

 

capture20210112115459992.png

 

Have used day of year as sort column but am getting same as above. Please help on same.

Am using SQL direct query mode to get data.

1 ACCEPTED SOLUTION
amitchandak
Super User IV
Super User IV

@BaluChalla , if the data type is date, then from three dots, you should able to sort it date.

 

If the data type is text, then make a date column as the sort column of this column and then use this column

: https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column

 

Refer mu video on how to sort and handle errors: https://www.youtube.com/watch?v=KK1zu4MBb-c



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

1 REPLY 1
amitchandak
Super User IV
Super User IV

@BaluChalla , if the data type is date, then from three dots, you should able to sort it date.

 

If the data type is text, then make a date column as the sort column of this column and then use this column

: https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column

 

Refer mu video on how to sort and handle errors: https://www.youtube.com/watch?v=KK1zu4MBb-c



Did I answer your question? Mark my post as a solution! Appreciate your Kudos!!
Dashboard of My Blogs !! YouTube Channel !! Connect on Linkedin

Proud to be a Super User!

View solution in original post

Helpful resources

Announcements
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

April Update

Check it Out!

Click here to read more about the April 2021 Updates!

MBAS Carousel

Sign up for our May 4th event!

May the fourth be with you, join us online!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.