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

Next Topic

Book Contents

Book Index

Filtering a report

A report is created to tabulate the rating questions Q6a to Q6e as a grid table in one instruction and each tabulated against "Gender" in another instruction. The whole report will be filtered to only include respondents under 45 years old. The report can then be cloned to produce the same tables for respondents aged 45 plus.

Creating the under-45 report

  1. Click Batches button to display the Reports window.

    List of available reports

  2. Click New button to create a new report, and specify the Report Details as follows:

    Name: RP5 (Snap will automatically allocate the next number but the name can be amended)

    Display Name: Analysis for under 45s (this is how the report will be identified on Snap WebHost)

    Label: Analysis for under 45s

    Add index: Leave blank (select this to produce a list of tables at the end of the report print).

    Filter: Q9=(1 to 4)

  3. Click New button and select Table in the Instruction List to display a Results Definition dialog.
  4. Complete the fields in the Definition tab:

    Type: Table

    Analysis: Q6a TO Q6e

    Break: Grid table

  5. Select any other required options for the tables.
  6. Click the Notes/Titles tab and set the Title to "Ratings".
  7. Click [OK] to save the instruction.
  8. Save the report by clicking Save button.

    If the Filter is left blank, all cases will be included. Alternatively, specify a filter as a logical formula or a variable name. If a variable name is specified then a set of tables will be produced for each code value of that variable. For example, if the filter is specified as Q10, a set of tables will be produced for all values of Q10. An entire set of tables for Q10=1 would be followed by a set of tables Q10=2.

  9. Click Clone button to clone the first instruction.
  10. Complete the fields in the Definition tab:

    Type: Table

    Analysis: Q6a TO Q6e

    Break: Q10

  11. Select any other required options for the tables.
  12. Click the Notes/Titles tab and set the Title to "Ratings by gender".
  13. Click [OK] to save the instruction.
  14. Save the Report by clicking Save button.

Create the report for people over 45

  1. Select the report you have just created in the Reports window
  2. Click Clone button in the Reports window toolbar to copy it.
  3. Change the details of your new report to:

    Label: Analysis for respondents aged 45+

    Display Name: Analysis for respondents aged 45+

    Filter: Q9=(5 to 6)

    The Instruction Details will have been copied automatically.

  4. Save the second Report by clicking Save button.

The Report Filter applies to all instructions within the report. If an Execute instruction is included in a Report with a Filter then the Filter will also apply to the linked Report.

See Also

Report example of analysing several questions by a standard break

Using drag and drop to create a frequency table report