Display Logic - Qestion Comparison | XM Community
Skip to main content
Hello! I wanted to do the following:



Q1. Rate A from 1-10

Q2. Rate B from 1-10

If Q1>Q2, then show Q3, if Q2>Q1 then show Q4



Is there a way to do this?
Hi @afonsorp



You can use recode value for comparing the response from a different question.



First, you will have to assign recode value to Q1 and Q2 question.

Here is the documentation for assigning the recode value:

https://www.qualtrics.com/support/survey-platform/survey-module/question-options/recode-values/



Then, you have to create an embedded data in survey flow like "Q1value" which should be equal to Q1 "selected choice recode".

Create an embedded data "Q2value" which should be equal to Q2 "selected choice recode".



So, in a display logic of Q3 check if Q1value is greater than Q2value.

Likewise for Q4.
A note on this... the display logic interface doesn't give you the embedded data drop-down for your comparison in the second parameter box, but you can place piped-text into that value box to get you what you need.



!
Thanks a lot for your help! Do you know if that process is possible with a Q lite account?

Hi! Neither of the two approaches worked - Qualtrics won't let me compare the 2 embedded data. Any other ideas?


Leave a Reply