This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help
The following examples use the Crocodile Restaurant Survey:
Filter expression |
Selection |
Sub-set produced |
|---|---|---|
Q2=1 |
All cases where the respondent has given answer 1 to question 2 |
Respondents who visit the restaurant daily |
Q6a=(1,2) |
All cases where the respondent has given answer 1 or answer 2 to question 6a |
Respondents who rated the speed of service as "Very Good" or "Good" |
Q6a=(1 to 3) |
All cases where the respondent has given answers within the range 1 to 3 (1 or 2 or 3) to question 6a |
Respondents who rated the speed of service as "OK" or better |
Q9=3 and Q10=1 |
Cases where the respondent has given answer 3 to question 9 and answer 1 to question 10 |
Respondents who are 25-34 year old males |
NOT Q9=1 |
Cases where the respondent did not give answer 1 to question 9 |
Respondents who are not under 18 |
Q3a>4 |
All cases where a value of greater than 4 has been given at question 3a |
Respondents who had more than 4 adults in their party |
Q5<=10 |
All cases where a value of 10 or less has been given at question 5 |
Respondents who spent £10 or less in total |
Q4a="ilkshake" |
All cases where the characters "ilkshake" appear in the text of the data for Q4a |
Respondents who ordered a milkshake in addition to the items specified at Q4. When filtering using Literal Response data Snap will look for an exact match, unless an upper or lower case pattern is applied to the variable. |
(Q10=2 OR Q9=(1,2)) AND Q5<=50 |
All cases where the respondent has given answer 2 to question 10 or either answers 1 or 2 to question 9 and a value of less than or equal to 50 for question 5 |
Respondents who are female or aged 24 or under and who spent £50 or less in total |
case>=52 AND case<=176 |
All cases from, and including, case 52 to, and including, case 176 |
Respondents from case 52 to case 176 inclusive |
num Q4>2 |
All cases where the respondent gave more than two answers to Q4 (a Multiple Response question) |
Respondents who ordered three or more items |
|
See Also |