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

The Power BI Data Visualization World Championships is back! It's time to submit your entry. Live now!

Reply
tulsi
Helper I
Helper I

Sort data

I'm using PowerBI desktop. My requirement is to get top 5 tasks  by month. I used the TOP N filtering for tasks and I got a graph like this.

Capture.PNG

 

I have to sort these tasks in a decreasing order by the time spent on them. Can anyone please help me with this one.

1 ACCEPTED SOLUTION

you want your barchart sort by mont on the x as. and then in a month sort desc from the task. 

sometimes yellow bar is first and sometimes the grey bar? 

 

i dont know if that is possbile. a sorting on the legend. 

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Hi @tulsi

 

  You will see ... symbol in the right top cornr of this chart, click on that and you will see "sort by task". Click on that to sort this by task.

 

Thanks

Raj

If I sort it by task then the order of the month changes and I don't want that to happen.

you want your barchart sort by mont on the x as. and then in a month sort desc from the task. 

sometimes yellow bar is first and sometimes the grey bar? 

 

i dont know if that is possbile. a sorting on the legend. 

Yeah I'm trying to sort the tasks in decreasing order by not changing the order of the months.

Helpful resources

Announcements
December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.