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

Next Topic

Book Contents

Book Index

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

When you create an analysis table in Snap the table columns are normally ordered according to the variables in the analysis definition. You can sort columns in forward and reverse order by the values of Analysis Label, Analysis Base and Summary Statistics.

This means that you can know that the first column of a sorted table will have (for example) the lowest mean value.

You can access the contents of any table cell or label, so you can dynamically access the appropriate data for whatever aspect has the lowest mean value and use that data in your report. You can also insert the text from the column label in your report.

The example below shows how to use the data from a ranked column in a report Information instruction to add dynamic text to your report.

It uses

  1. Set up the ratings table definition and add the Mean to the summary statistics (you will need to ensure that the mean is scored if you are analyzing coded questions).
  2. Set the ordering to be by the mean.

    Smart reporting: image of

  3. Click [Apply] to display the table.

    Smart reporting: image of

  4. Open the report that you wish to add the dynamic information to.
  5. Create an Information instruction.
  6. Add any fixed text. Click [Insert] and select Cell Value field... from the drop-down list.
  7. Enter the table name and cell or label reference that you wish to insert. The example below shows references to the cells and labels highlighted in the table T4 shown above (T4 C1 Label, T4R1C1, T4 C7 Label and T4R1C7).

    Smart reporting: image of

  8. Click [OK] to save your instruction.

When the report is generated, the table labels and cell values will be dynamically inserted into the report

Smart reporting: image of

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

Conditionally including content in your reports

Inserting the content of a table cell