Using Assisted Mode to define a filter (AskiaVista)

In assisted mode, you use a simple interface to build up your filter. This interface is easy to use, but it allows you to create fairly sophisticated filters. However, if you need to create an even more complex condition, you can do so using AskiaScript in script mode.

Example A: Filter created from a category question

Suppose we want to filter our tables by respondent gender; we might create a filter based on a question Gender. We have selected the question Gender, then the category Man. Our filter corresponds to all the males interviewed in this survey. We might set up our condition as follows:

Example B: Filter created from a numeric question

Suppose we want to specify respondents who gave a value greater than 5 at the question Department. In our example, we have selected the question Department, then greater. Finally, we have entered the value 5:

Building your filter

A filters consists of one or more logical conditions. To define a condition, select the question you want to base it on, and then define the response you expect if the condition is to be satisfied.

Instead of selecting a question from the list, you can also drag and drop a question directly from the question list in the left-hand pane onto the question drop-down in the condition builder.

For closed questions, you select one or more closed responses, and an operator which determines which of these the respondent must have selected in order to satisfy the condition. The available operators are:

For example, the following condition is true if the respondent is younger than 35:

For numeric questions, you need to enter a value, or a range of values, and specify how the answer given by the respondent must relate to this value in order for the filter to be satisfied (e.g. Department Equal or less 5 means that the respondent must have answered 5 or less in the question Department to satisfy the filter). The available operators are:

Multiple conditions

Your filter can consist of several conditions. To add another condition, click + on the row beneath the condition:

icn-add-cond-normal

You can define the relationship between each of these conditions (e.g. with two conditions, they might both have to be true, or only one of them may have to be true to satisfy the filter). Select the appropriate operator between the two conditions:

For example, the following condition is true if the respondent is aged 25-34 or 35-49 (in other words, if the respondent is aged 25-49):

To remove a condition, click - beneath it:

icn-remove-cond-normal

You can also create sub-conditions that combine to make conditions. To add a sub-condition, click + on the same row as the condition:

icn-add-cond-normal

To remove it, click - on the same row as the condition:

icn-remove-cond-normal

As with conditions, you can control how two sub-conditions combine by selecting AND or OR.

Create your own Knowledge Base