Snap XMP Help

Combining literal responses with a coded question

You are here:
< All Topics
image_pdfimage_print
  1. Click Variables window button to display the Variables window.
  2. Click NewSurveyIcon.png to add a new variable.
  3. Specify the Variable Details:
    • Name: V2
    • Label: Items ordered
    • Type: Derived (the variable will derive its data from existing variables)
    • Response: Multiple (each respondent could fall into more than one of the new codes)
  4. Specify the Code Details:
Derived variable matching a code value to a label
  1. Ensure that the variable from which the derived one will gather its data has a relevant pattern applied, such as lower case.
  2. Click SaveIcon.png to save the variable. The variable can then be used in tables and charts in the usual way.
Table showing the counts of the Items ordered

Unless a pattern has been applied to the source variable, the specification of the text string must be precise. The pattern match process searches for an exact match (i.e. it is case sensitive) and looks for a capital M at the beginning of the word Milkshake and ignore lower case m. Q4a=”ilkshake” would find both.

Was this article helpful?
0 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
How can we improve this article?
Contents