> For the complete documentation index, see [llms.txt](https://365automate.gitbook.io/365automate-gantt/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://365automate.gitbook.io/365automate-gantt/filtering.md).

# Filtering

You may not want to show all items in the gantt chart, and there are several ways to add filtering. These options are configured under **Settings > Filtering**.

### Static filtering on a single field

To add a permanent (static) filter on a single field, select **Field to filter** and then select the value:

<figure><img src="/files/ehHJQi9h2XMyQOmynN6P" alt="" width="311"><figcaption></figcaption></figure>

The gantt chart will then only display items matching this value.

### Static filtering on a view

If you prefer to configure a more complex filter, such as using a combination of fields, "not", or "or" filters, you must configure a view on the list. You can then select the view under "**Default view for data filtering**":

<figure><img src="/files/t1IWgrTOg2dPqyvEGeS5" alt="" width="306"><figcaption></figcaption></figure>

To add to the available views, navigate to your list, modify your filters as appropriate by clicking on columns and selecting "**Filter by**":

<figure><img src="/files/lStE6fNnwbASjAXbzsih" alt="" width="219"><figcaption></figcaption></figure>

Then select the relevant values and click **Apply**:

<figure><img src="/files/jydhPpDdkI8NfnayIH2R" alt="" width="309"><figcaption></figcaption></figure>

Save your new view by clicking **Save view as**:

<figure><img src="/files/9enFfbsitkfiK3iDKY4X" alt="" width="259"><figcaption></figcaption></figure>

<figure><img src="/files/VtBuIahreFI7f9Vlg1Pm" alt="" width="560"><figcaption></figcaption></figure>

This will now appear as an options in your Gantt configuration:

<figure><img src="/files/JfuDAfidY0V5Tv9UOaWy" alt="" width="326"><figcaption></figcaption></figure>

When saved, the chart will now only show items from this view.

### Dynamic filtering using multiple views

To give your users the option to select a view, you can create as many views as you wish and select them under "**End-user selectable views**":

<figure><img src="/files/osAo0eOntDZMfNO6xpPM" alt="" width="314"><figcaption></figcaption></figure>

These will now appear as a drop-down in the chart:

<figure><img src="/files/LBm4ufgbhXTAuI7yJtVz" alt="" width="371"><figcaption></figcaption></figure>

### Dynamic filtering using fields

You can give your users the option to filter on any number of fields. To do this, select the fields under "**End-user filterable fields**":

<figure><img src="/files/sahk10ElyifpABE0CZ3h" alt="" width="314"><figcaption></figcaption></figure>

These fields will now appear as a drop-down in the chart:

<figure><img src="/files/ha1FdotsBtrDofplzXWP" alt="" width="404"><figcaption></figcaption></figure>

The '**Load ancestors on filtering**' option, if selected, will mean that for any matching tasks, their parent tasks/projects will also be shown.
