Applying filters and contexts

Filters and contexts show a subset of the response data in the report or analysis. There are two types of filters and contexts available to use in Snap XMP Online:

  • External filters and contexts. These are defined from the Analyses or Reports windows in Snap XMP Desktop. Once defined, you can apply the filter or context to reports and analyses in both Snap XMP Desktop and Snap XMP Online. They form part of the survey which means you can use them every time the survey is open.
  • Custom filters and contexts. These are set up in Snap XMP Online using a filter expression. You can use the variables section to check the variables and questions used in the questionnaire to help create the expression. These are temporary filters and contexts that are available while the survey is open but are removed when the survey is closed.

Using an external filter or context

Any analyses or reports that include external filters or contexts can use these to view a subset of the response data. To apply a filter to an analysis, use the following instructions:

  1. In Snap XMP Online, select the survey from Your work.
  2. In the Summary tab, click the Analyze link. The reports and analyses are available here.
Graphical user interface, text, application

Description automatically generated
  1. Select the report or analysis from the Reports or Tables and Charts menus.
  2. To apply a filter to the selected report or analysis, select Filter & context in the side menu.
  3. Click Add variable    to add a filter rule.
  4. In the Select a variable list, select a variable to use as the filter then click Next.
  5. Select the answers to use in the filter and click OK.
Graphical user interface, application, Word

Description automatically generated
  1. Click Apply changes to update the analysis of your response data for the selected filter.
Graphical user interface, text, application

Description automatically generated

Further information on the full process of setting up and using external filters is available at Setting up filters for Snap Online analysis.

Set a custom filter or context

As well as using externally defined filters and contexts, you can create a custom filter or context. These are temporary and only available while you are using the survey in Snap XMP Online.

  1. In Snap XMP Online, select the survey from Your work.
  2. In the Summary tab, click the Analyze link to see the list of reports and analyses.
  3. Select the report or analysis from the Reports or Tables and Charts menus.
  4. To apply a filter to the selected report or analysis, select Filter & context in the side menu.
  5. Click Set custom  to add a custom filter or context rule.
  6. Enter the filter expression and click OK.
  1. Click Apply changes to update the analysis of your response data for the selected filter.

Viewing variable details

Click on the Variables menu to view the variables available in the survey. This helps to identify the variable details of the questions, derived variables and paradata, which you can use to build the custom filter expression.

Contents