Gantt filters

Modified on Wed, 18 Jun at 12:13 PM

Gantt supports filtering of rows to help you better focus on relevant items in the timeline. While filtering by time range was available earlier, version 25.4.1 introduces additional options to filter by item, resource, and allocation. This version also brings improvements to the funnel icon.




TABLE OF CONTENTS



Funnel icon

The funnel icon with a tooltip describing the applied filter (time range / by item / resource / allocation) appears when you hover over it.




Time range filter

By default, the Gantt chart shows the time range as compact as possible to fit the Work Items. If you want to set the start and end date manually, set the following snippet to Advanced > Gantt Config Script.

gantt.config.start_date = new Date(2024, 11, 10);
gantt.config.end_date = new Date(2025, 7, 20);

Please be aware that in JavaScript, months in the Date object are zero-based, meaning:

    •    January = 0,

    •    February = 1,

    •    March = 2,

    •    …

    •    December = 11


In this example, the time range is set from 10th December 2024 to 20th August 2025


Page Parameters filter

You may also set the time range with Page Parameters in your LiveReport Page. Let's suppose you have two parameters, start and end.




Set the following snippet to Advanced > Gantt Config Script

gantt.config.start_date = new Date($widgetContext.pageParameters.start.value.time);
gantt.config.end_date = new Date($widgetContext.pageParameters.end.value.time);

If you named your IDs something other than start and end, please change them accordingly.


See how it works:



Filter by Item

Click on one or more items and then select the Filter by Item button in the Toolbar. This displays only selected Item(s)  and its related Items.



Filter by Resource

Clicking on a specific Resource (Assignee) filters the widget to show only rows where this Resource is assigned, helping you to focus on their workload:




Filter by allocation bubble and show per-task effort

Since version 25.4.1 Gantt allows you to filter by allocation bubble and see the planned effort per task for a selected Resource within the current time range (day/week/month — based on your zoom level). This helps you quickly identify which items contribute to the user’s workload and which ones can potentially be reassigned, postponed, or adjusted. 


The per-task effort is available when the Resource Load Calculation is set to Remaining Estimate or Estimate + Spent. Since version 25.4.2, filter by allocation bubble is available for all types of load calculations, however the per-task effort column won't appear. 


To access this view, simply click on the relevant allocation bubble. A new column appears in the Table view showing the planned effort (in hours) for each contributing item. 







For any assistance, please don’t hesitate to reach out by submitting a ticket here.

Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article