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
Anonymous
Not applicable

How to sort Year/Month?

I have 24 month in column chart. How to sort from January 2019 to December 2020?

 

PowerBI_Salary_sorting.png

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

Hi @Anonymous ,

 

Add the date column as tooltip in the visual and make it sorted by the date.

date.PNG

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.

View solution in original post

4 REPLIES 4
v-frfei-msft
Community Support
Community Support

Hi @Anonymous ,

 

Add the date column as tooltip in the visual and make it sorted by the date.

date.PNG

 

Community Support Team _ Frank
If this post helps, then please consider Accept it as the solution to help the others find it more quickly.
Anonymous
Not applicable

Hi Kenny,

Please provide demo dataset or .pbix.

Thanks

 

Anonymous
Not applicable

Hi Kenny,

Give a number to month and sort it by month number and go to dataview select month number .

 

Month NameMonth Number
Jan1
Feb2
March3
April4

 

community123.jpg

TomMartens
Super User
Super User

Hey @Anonymous ,

 

please allow me to direct you to this article:

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

 

As the above article is more general, this section explains how to sort the values of a column "2019/Jan" ... "2020/Dec" by the values of another column: https://docs.microsoft.com/en-us/power-bi/desktop-sort-by-column#sort-using-the-sort-by-column-button

 

Hopefully this provides you with some ideas.

 

Regards,

Tom

 

 



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

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.