Display logic based on the comparison of 2 question answers | XM Community
Skip to main content
Question

Display logic based on the comparison of 2 question answers

  • July 21, 2020
  • 3 replies
  • 391 views

Hi there,
I want to display Q3 if the satisfaction score of Q1 is larger than the satisfaction score of Q2.
I followed every step in this post (https://www.qualtrics.com/community/discussion/838/display-logic-qestion-comparison) but still failed - Qualtrics doesn't allow the comparison of 2 embedded data. I even failed when I typed "S2value" or ${q://QID24/SelectedChoicesRecode} which is the code for S2value.
Any ideas on how I could display Q3?
Thanks!
IMG_2607.jpg

3 replies

SurajK
QPN Level 3 ●●●
Forum|alt.badge.img+4
  • QPN Level 3 ●●●
  • 181 replies
  • July 21, 2020

Hi,
Try to add the base logic like the below,
image.png


  • Author
  • 2 replies
  • July 22, 2020

Thank you for your suggestion Suraj! It still doesn't work on my side. Does it work on yours?


SurajK
QPN Level 3 ●●●
Forum|alt.badge.img+4
  • QPN Level 3 ●●●
  • 181 replies
  • July 22, 2020

Yes, it worked fine for me. Make sure your embedded variables are declared or created before Q3 and your are taking the correct values in it.