Embedded data not showing up in display logic | XM Community
Skip to main content

I am trying to create a display logic for Q 4.1.3 where depending on the values from Q4.1.1, I display a different version of Q4.1.3. Q4.1.1 asks for a highest value and lowest value and my display logic is based on the difference between these values. I create an embedded data variable in the survey flow and use that embedded data in the display logic. However, it is not working, please advice. (I am attaching photos of my survey flow)

 

 

 

Hello @v_anand,

First, your embedded values are added before the survey block in Survey Flow. This means the variables are calculated before the questions are shown, but it should be the other way around. First, the questions are shown then the variables are calculated. Your survey flow should be like this: Q4.1.1 → Embedded variables → Other questions.

Additionally, I think the math formula you're using is incorrect. Instead of calculating it all at once, break it into three variables: first divide by 5, second divide by 4 and third subtract.

Let me know if this helps.


Hello @v_anand,

First, your embedded values are added before the survey block in Survey Flow. This means the variables are calculated before the questions are shown, but it should be the other way around. First, the questions are shown then the variables are calculated. Your survey flow should be like this: Q4.1.1 → Embedded variables → Other questions.

Additionally, I think the math formula you're using is incorrect. Instead of calculating it all at once, break it into three variables: first divide by 5, second divide by 4 and third subtract.

Let me know if this helps.

Thanks for your reply- what do you mean divide? My formual is meant to be a simple subtraction  (maybe I’ve done it completely wrong) but I’m trying to subtract the highest value from the lowest and the 4 and 5 are just part of the piped text


Hello @v_anand,

First, your embedded values are added before the survey block in Survey Flow. This means the variables are calculated before the questions are shown, but it should be the other way around. First, the questions are shown then the variables are calculated. Your survey flow should be like this: Q4.1.1 → Embedded variables → Other questions.

Additionally, I think the math formula you're using is incorrect. Instead of calculating it all at once, break it into three variables: first divide by 5, second divide by 4 and third subtract.

Let me know if this helps.

Thanks for your reply- what do you mean divide? My formual is meant to be a simple subtraction  (maybe I’ve done it completely wrong) but I’m trying to subtract the highest value from the lowest and the 4 and 5 are just part of the piped text

I apologize for the misunderstanding. I thought you were trying to divide the answer by 4 and 5 and then subtract. If you simply want to subtract, your formula should be:

$e{ q://QID54/5 - q://QID54/4 }

 

Let me know if this helps.
 


Hello @v_anand,

First, your embedded values are added before the survey block in Survey Flow. This means the variables are calculated before the questions are shown, but it should be the other way around. First, the questions are shown then the variables are calculated. Your survey flow should be like this: Q4.1.1 → Embedded variables → Other questions.

Additionally, I think the math formula you're using is incorrect. Instead of calculating it all at once, break it into three variables: first divide by 5, second divide by 4 and third subtract.

Let me know if this helps.

Thanks for your reply- what do you mean divide? My formual is meant to be a simple subtraction  (maybe I’ve done it completely wrong) but I’m trying to subtract the highest value from the lowest and the 4 and 5 are just part of the piped text

I apologize for the misunderstanding. I thought you were trying to divide the answer by 4 and 5 and then subtract. If you simply want to subtract, your formula should be:

$e{ q://QID54/5 - q://QID54/4 }

 

Let me know if this helps.
 

Interesting, since I was going off of the following post in the Qualtrics guide.


Leave a Reply