Why is my embedded data not displaying at the end of the survey?
This is a survey where participants input calories in a series of Constant Sum questions. I am trying to create a survey flow where it adds up the totals for all the Constant Sums and gives one large sum at the end, but I am doing something wrong because it doesn’t show up when I preview the slideshow. I have included two text questions at the end to display them to test if its working.
Page 1 / 1
i think you need spaces around the curly brackets.
The math operation should look like $e{ } with the math going between the brackets. This is explained here:
In your case, each value in the sum should be a text piping command for an embedded data item.
Here’s an example:
It is easy to make a mistake, since the syntax for a math operation looks similar to that of text piping commands, with just a small difference.
@Robbert I would recommend reading the support pages you've linked to. Especially the sections on Piped text and incorrectly formatted Piped text.
@Robbert I would recommend reading the support pages you've linked to. Especially the sections on Piped text and incorrectly formatted Piped text.
If you mean $e{ value_1 + value_2 + … } is not correctly formatted, you are right, it is an example of a math operation, using placeholders. The parts “value_1” and "value_2” and “...” are to be replaced by actual piped text commands as in my example that follows it.
Thus the math operation for @BS86 would look like this:
I see now I made a mistake, as @ahmedA pointed out, in that when piped text is used in math operation, the ${ and } should be removed from the piped text. So it should be:
If that still does not work, consider doing this addition in the Data and Analysis section using a formula. This would be make sense if you do not want to display the sum to the respondent