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

Next Topic

Book Contents

Book Index

Conditionally including content in your reports

You can set up conditions on parts of your report so they will only be put in the report if the conditions are met. You enter conditions in the N/A field on a report instruction. Conditions can be applied to any instruction that puts content in the report. These are:

The conditions must be a true/false evaluation, (such as whether data is in a chart). You can only use evaluation expressions that are available for the survey as a whole. This means you can:

You cannot use expressions that depend on the response in a particular case, such as NUM.

For example, the instruction below will only add the text to the report if the value in the table cell, row two of column one of table T8_1 is not greater than 14.

Smart reporting: image of

The chart below will only be created if the chart C5 had data in it.

Smart reporting: image of

For reference information about the sort of expressions which can be used in a N/A field, see the list of Snap Logical Expressions.

When creating reports that include conditional content, it is worth testing the report by running it with the option Print report item numbers. This tags each bit of the report with the report name and instruction number that created that content. You can then see exactly which instruction in which sub-report has produced content (or not).

See Also

Putting a single piece of text or a graphic in your report

Putting dynamic text in your report

Checking the spelling of your reports

Positioning a chart, map or cloud in your report

Controlling which aspects of an analysis appear in your reports

Inserting the content of a table cell

Inserting dynamic data from a ranked table to put highest and lowest values in your report