Branch based off which score is higher | XM Community
Skip to main content
Solved

Branch based off which score is higher


Forum|alt.badge.img+1

I am working on a survey where I have 2 blocks that receive scores. I then want respondents to be branched based on which score is higher. Do I have to input a number or can I use a branch to compare 2 embedded data?

 

Ex. Challenge demand score > Hindrance demand score, so respondents would get specific questions based on challenges. 

Ex 2. Hindrance demand score  > Challenge demand score, so respondents get specific hindrance demand questions. 

 

Any help would be so appreciated! 

Best answer by TomG

Yes, you can use a branch to compare two embedded data fields.  The right side of the conditional should be piped. For example:

If Embedded Data Field var1 is greater than ${e://Field/var2}

View original

2 replies

TomG
Level 8 ●●●●●●●●
Forum|alt.badge.img+27
  • Level 8 ●●●●●●●●
  • 5929 replies
  • Answer
  • November 12, 2023

Yes, you can use a branch to compare two embedded data fields.  The right side of the conditional should be piped. For example:

If Embedded Data Field var1 is greater than ${e://Field/var2}


Forum|alt.badge.img+1
  • Author
  • 1 reply
  • November 12, 2023

Thank you! I was able to do it. Much appreciated!


Leave a Reply