This content describes Snap 11. For Snap 10, the equivalent page will be in Snap 10 help

Next Topic

Book Contents

Book Index

Generating automatic reports, with data filtered for each report

You can get the data appropriate to your subject by using a filter. This allows you to select what data is used in a table or chart depending on what the context is.

This tutorial shows how to set up a location context value for the crocodile survey that is supplied with Snap and produce three summary reports, one for each location. This simple example is not realistic, but shows you how to apply contexts in your own reports. Each report will only contain the data for a single location. Note that this description applies to reports produced in desktop Snap. To produce reports for Snap WebHost, see Tutorial 5: Creating a simple context report and assigning it to associates.

This procedure has three steps

  1. Open the Crocodile survey supplied with Snap.
  2. Set up your Context Data Set as described in Creating your context value. For this example, it uses the single variable Q0 (the location question) as the context. This will enable you to automatically create a report for each possible value of location.

    Global context variable dialog

  3. Click Batches button to open the Reports window.

    By default you will have two reports available, the questionnaire report, which provides a topline analysis based on the questionnaire layout, and the summary, which provides a chart or table for each question.

    Default reports in reports dialog

  4. Double click the Summary report to open it.
  5. Test the report by specifying a value for Q0 in the Filter field, e.g. Q0=1.
  6. Click Play/run button to run the report. It should produce a single report for Bristol.
  7. Specify the context as the filter, in this case Q0=Q0@context.
  8. Enter CX1 as the Context and click Play/run button to run the report. It will produce three reports, one for each possible value of the variable listed in CX1.

    Default summary report with context filter applied

You must clear the Context setting from the report if you wish to produce a single report for a specific context.

See Also

Creating your context data set for automatic reporting

Including an instruction based on context in a report

Producing a comparison report using a context value