Calculated Fields in Embedded Data | XM Community
Skip to main content

Hi everyone. I am looking to create some calculated variables in the Embedded Data section of the survey flow so that they appear alongside LoginID and other embedded variables. I am referencing the Math Operations documentation (https://www.qualtrics.com/support/survey-platform/survey-module/editing-questions/piped-text/math-operations/) so am enclosing the calculation with $e{} and removed the ${} around each embedded question. 

 

The questions I am using are multiple choice and I set what the numerical value of each choice is on the Scoring settings page.

Here’s an example of what one of the calculations looks like:

 

However, when I’m looking at the results, this is what the embedded section looks like:

 

It looks like it isn’t pulling the actual numbers. Any suggestions on how to fix this so it is doing the calculation is appreciated.

You need a space before the first field and after the last:

$e{ ( q://QID264/SelectedAnswerRecode/1 + q://QID264/SelectedAnswerRecode/2 + q://QID264/SelectedAnswerRecode/3 ) / 3 } 

 


Leave a Reply