Loop & Merge - Retake it | XM Community
Solved

Loop & Merge - Retake it

  • 1 August 2022
  • 4 replies
  • 29 views

Userlevel 1
Badge +1

Hello everyone,
I would like to know if is there any way to redo an loop based on a question at the end of the loop & merge.
Here what I need to do :
Q1. Could you please select the product to answer the survey ?

  • Product A

  • Product B

  • Product C

  • Product D

Loop based on Q1 Response (Product A and Product B selected):
  • Q2

  • Q3

  • Q4

Q5. You have answer for 2 products out of 4. Do you want to do it for the rest ?
If the answer is yes, come back to question 1 and redo the loop for the new selection.

icon

Best answer by nroot 8 August 2022, 17:10

View original

4 replies

Userlevel 3
Badge +10

If this is your only use case, I think the simplest solution is to duplicate the loop/merge, and if they answer yes to Q5, send them to the duplicate, coded as if they had selected the inverse of their Q1 answer.

Userlevel 1
Badge +1

nroot Thank you for your answer!
I have thought about this solution but it is not the only case

Userlevel 3
Badge +10

https://community.qualtrics.com/XMcommunity/discussion/comment/48167#Comment_48167A solution I've used that is more general purpose but requires more back-end coding is to abandon the idea of one-row-one-respondent, use an ID embedded var to link together responses, and use embedded variables to control the loop. So, you have a separate survey for your loop/merge, and depending on Q1 response they get sent to the survey with their product choices flagged in embedded variables . Then, if they indicate that they want to do it for the rest, you send them to the loop/merge survey again as a "new" participant, but with different product choices flagged. Then in your analysis, you know that it is the same participant because you had an embedded var with their ID.
This requires you to merge multiple responses during your analysis pipeline, but this is often much easier than doing some sort of complicated Qualtrics routine.

Userlevel 1
Badge +1

@nroot thank you! I will try this option!

Leave a Reply