Specifying how to apply filter criteria

When you create a filter with more than one criterion, you can specify the way in which the criteria are applied to the bars, tasks and allocations within a project. You can apply filter criteria in three ways: objects can meet any criterion, objects must meet all criteria, or objects must meet multiple filter criteria that are applied consecutively.

Objects can meet any criterion

To display objects that meet any criterion when a filter is applied, select the Objects must meet ANY criterion radio button on the Filter Properties dialog.

In the following example, three tasks have been assigned a variety of codes. The red and blue tasks each have an allocation of the same consumable resource:

Three tasks have been assigned a variety of codes

If you create and apply a filter with two criteria (tasks with the blue code and tasks with allocations of the consumable resource) and select the Objects must meet ANY criterion radio button, the following tasks would be displayed:

The result of applying a filter

This is because the blue task meets the first criteria and the red task meets the second.

Objects must meet all criteria

To display objects that meet all criteria when a filter is applied, select the Objects must meet ALL criteria radio button on the Filter Properties dialog.

Using the same example tasks illustrated above, if you create and apply the same filter and select the Objects must meet ALL criteria radio button, only the following task would be displayed:

 The result of selecting the Objects must meet ALL criteria radio button

This is because only the blue task meets both the first and second criteria.

Objects must meet multiple criteria that are applied consecutively

To apply multiple filter criteria consecutively, select the Append criteria results radio button on the Filter Properties dialog.

When you select this option, each filter criterion is applied in turn. Objects that match each criterion are passed on to the next criterion, then to the next, and so on. If an expanded or summary task meets a criterion, it is passed on to the next criterion along with its contents, regardless of whether the contents meet the criterion or not; the following criterion is then applied to all the items that are passed to it.

Note that if an expanded or summary task meets two consecutive criteria, it is passed on to the third criterion along with its entire contents, without the contents being filtered by the second criterion. The contents of the expanded or summary task are not filtered by the second criterion because the expanded or summary task itself meets the criterion, resulting in its contents being passed on regardless.

In the following example, tasks have been assigned a variety of codes, two tasks have an allocation of a consumable resource, and two summary tasks have a cost allocation:

Tasks have been assigned a variety of codes, two tasks have an allocation of a consumable resource, and two summary tasks have a cost allocation

If you create and apply a filter with three criteria (tasks with the blue code, tasks with a cost allocation, and tasks with allocations of the consumable resource) and select the Append criteria results radio button, only the following task would be displayed:

The result of applying a filter

This is because the blue summary task meets the first criterion; its contents are also passed on to the second criterion, even though the contents themselves do not match the first criterion:

Objects that match the first criterion - tasks with a blue code

Objects that match the first criterion - tasks with a blue code.

The green summary task with the cost allocation meets the second criterion; again, its contents are passed on to the next criterion, even though they themselves do not match the criterion:

Objects that match the second criterion - tasks with a cost allocation

Objects that match the second criterion - tasks with a cost allocation.

Finally, only the red task meets the third and final criterion, so this is the only task to be displayed:

The result of applying a filter

Objects that match the third criterion - tasks with allocations of the consumable resource.

If an expanded or summary task meets the final criterion, you can specify whether its entire contents are displayed, even if some of the tasks contained within the subchart or summary group do not match the criterion, using the If summary/expanded tasks pass the filter show their contents check box.

You might find this type of filter particularly useful if you structure your projects consistently. For example, if you have a programme of projects (each project represented by an expanded task on the programme chart), and each project is divided into a number of phases (represented by subcharts within each project), you could set up a filter to filter for a certain type of project (criteria 1), a certain type of phase within the selected projects (criteria 2) and particular objects within the selected phases (criteria 3). With this type of filter, only objects that are located at phase level would meet the criteria.

Related Topics:

Creating a new filter using the Filter Wizard