Server User Guides > Survey Tabulation > Filters > Filter dialog > Combining conditions
 
Combining conditions
When you are using the Normal view of the Filter or Edit Category dialog, the lower part of the right side of the dialog lists the conditions that have been defined already. Multiple conditions are combined with:
the And operator, which means that all of the conditions must be true for a case to pass the filter.
the Or operator, which means that cases will pass the filter if any or all of the conditions are true.
In addition, you can use the Not operator to negate conditions and use ( ) parentheses to change the order in which the conditions are evaluated.
Each condition is shown on a separate line. To change a condition, click in the following column on the line you want to change:
And/Or
This graphic is described in the surrounding text.
Click And or Or to add or replace the existing operator. Combine conditions with the And operator when you want cases to be selected if they satisfy both conditions. Combine conditions with the Or operator when you want cases to be selected if they satisfy either or both of the conditions. Note that you cannot begin the first line of an expression with And or Or.
Not
This graphic is described in the surrounding text.
Click Not to negate the condition, or blank to remove the existing negation.
(
This graphic is described in the surrounding text.
Click Add to insert a new opening parenthesis on the selected line, or Remove to delete an existing parenthesis. You typically use parentheses in complex expressions to change the order in which the conditions are evaluated. For more information, see Operator precedence.
)
This graphic is described in the surrounding text.
Click Add to insert a new closing parenthesis on the selected line, or Remove to delete an existing parenthesis. You typically use parentheses in complex expressions to change the order in which the conditions are evaluated. For more information, see Operator precedence.
See also
Filter dialog