
Solved
Maths Operation in Embedded Data
Dear Qualtrics Community,
I am trying to figure something out:
As you can see in my screenshot, I defined that "SumTT1TT2" is the sum of TT1 and TT2.
However, when I want to display SumTT1TT2 via Piped text, the result is always 0, no matter what values are behind TT1 and/or TT2.
Does anybody know why this happens?
Thanks in advance!
!

Best answer by TomG
> @NikaMo said:
>
> @TomG As TT1 and TT2 are defined in the survey via the responses to survey questions, how I am supposed to set them beforehand? Specifically because (as stated above) they appear a couple of times in the survey (however only once per respondent) & they are not the responses to the question itself but the number of words entered into a text entry field (captured with Java Script)
You will need to calculate SumTT1TT2 after the values of TT1 and TT2 are set (or each time they are reset). Since TT1 and TT2 aren't calculated until a question is answered it doesn't make any sense to calculate SumTT1TT2 as shown in your survey image. You could just define it like you do the other variables then calculate it later.
View originalLeave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.