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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

Reply
0045321
Frequent Visitor

Sorting by Start Time w/ Microsoft Gantt Chart

Hi,

I'm using Microsoft's Gantt chart, a custom visual, in my project. I must include a field for start date, and I have a choice of including either end date or duration. If I include end date, I have the option to sort along the x-axis for earliest end date. If I include duration, I can sort by sum of duration.

How can I sort by start time? There is no option for this that I can see. I have attempted to build custom sorting, but have been unable to due to the chart's refusal to accept measures in any field.

Thanks.

1 ACCEPTED SOLUTION
wardy912
Solution Sage
Solution Sage

Hi @0045321 

 

 The Gantt visual automatically sorts by start date, but gives you the option to sort by end date/duration.

wardy912_0-1751903142631.png

wardy912_1-1751903222083.png

Don't sort the x-axis by any other options and you should be fine.

Hope this helps, please mark as solved if it does.

thanks.

View solution in original post

2 REPLIES 2
wardy912
Solution Sage
Solution Sage

Hi @0045321 

 

 The Gantt visual automatically sorts by start date, but gives you the option to sort by end date/duration.

wardy912_0-1751903142631.png

wardy912_1-1751903222083.png

Don't sort the x-axis by any other options and you should be fine.

Hope this helps, please mark as solved if it does.

thanks.

This only allows sorting in ascending order. Any idea how I can include it as a sorting option so I can sort by descending?

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

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 Solution Authors
Top Kudoed Authors