Creating a list of literal responses

You can create a list of literal responses using the List analysis type.

  1. Click Analysis List AnalysisListIcon.png on the Snap XMP Desktop toolbar to create a list definition.
  2. Enter the literal variable definition, such as Q9 in the Analysis field.
  3. Press Apply to display the list.

Using a derived literal response

You can use derived literals to enter other text in your list. You can also convert dates, times and quantity variables to text in derived literals.

For example, in the Crocodile Rock Cafe survey supplied with Snap XMP Desktop, there is a date variable Q1.a and a literal variable Q8 for “Any other comments”. To create a report with the information in a readable format, you can create a derived literal that writes the date a comment was received together with the comment, and then create a list analysis of the data.

  1. Click VariablesIcon.png to open the Variables window.
  2. Click NewSurveyIcon.png to add a new variable.
  3. Set the type to Derived and the Response to Literal.
  4. Enter the text “Comment'{Q9}’ was received on:{Q1.a}.”

Note that the variable names are enclosed in {} within the text. The quotation marks included in the text (‘) are different to those that mark the beginning and end of the text in the derived literal (“). (If you need to have double quotes (“) in your text, you must use single quotes (‘) to mark the beginning and end of the text.

  1. You only want to list if there are comments, so in the Not Asked field, type unless Q9 ok. This means the your derived literal will be left empty if there is no comment
Derived variable to list comments with the date of visit
  1. Click SaveIcon.png to save the variable.
  2. Create a list as before, but use your new derived variable, V1 in the Analysis field.
List of comments with the date of visit