Filter rules

When you create an advanced filter, you can create complex filters by combining the filter clauses you created with Create an advanced filter. By default, the filter clauses are combined with the AND (conjunction) operator. However, you can also combine the clauses by using brackets and the OR (disjunction) operator.

Operator Explanation

AND

A result must fit all filter clauses.

Example: A AND B AND C means that only a resource that fits all three filter clauses is added to the results.

OR

A result must fit one of the filter clauses.

Example: A OR B OR C means that whenever a resource fits one of the three filter clauses, it is added to the results.

A filter uses the following operator precedence to filter the data:

  1. Operations inside brackets.
  2. AND operations.
  3. OR operations.

Filter rule examples

  • A OR B AND C:
    • First, check the AND operation. The result must fit clause B and C.
    • Second, combine it with clause A. The result must fit either A or the result of the AND operation.
  • (A OR B) AND C:
    • First, check the operation between brackets. The result must fit either clause A or clause B.
    • Second, combine it with clause C. The result must fit clause C and the result of the operation between brackets.