Specifying expressions using the advanced method
You can use the Advanced Filter Specification window to create new expression quotas and to modify existing ones.
If you are editing an existing expression, it is displayed in the quota expression box when you open the dialog box. Otherwise, the quota expression box is blank.
You can build expression quotas by adding variables and clicking the operator and function buttons. Alternatively, you can enter expressions directly into the quota expression box. In practice, you will probably use a combination of both methods.
Example
If the questionnaire script contains a categorical question called gender, with the categories Male and Female, you can create the following expression to select male respondents:
gender.ContainsAny({MALE})
To create this expression, do this:
1 Click Variables, and then choose gender from the list.
2 Click the . button.
3 Click Functions, and then choose ContainsAny from the list that appears.
4 Click the { button, and then choose MALE from the list that appears.
5 Click the } button.
6 Click the ) button.
Note This example uses a simple expression that could be created using the Filter on Categorical Variable dialog box. However, because it was created using the Advanced method, it can only be edited on the Advanced Filter Specification dialog box.
See also