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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Kudoed Authors