Totaling number throughout a survey | XM Community
Solved

Totaling number throughout a survey

  • 24 May 2018
  • 1 reply
  • 21 views

Hi,

I'm trying to total recoded values throughout the survey with multiple blocks. Each block has a recoded value from a multi choice multi answer question type, I would like to display the results on the final page. So Q1 results are 1,2,4 and Q2 2,4,5 and Q3 1, if I add them all they should total 19.

What would be the best way to implement the count.

Thank you in advance!
Karim
icon

Best answer by TomG 25 May 2018, 14:31

View original

1 reply

Userlevel 7
Badge +27
You can add them in embedded variable in the survey flow using a math expression:
```
count = $e{ q://QID1/SelectedChoicesRecode + q://QID2/SelectedChoicesRecode + q://QID3/SelectedChoicesRecode }
```
You'll have to look up the actual QIDs for Q1, Q2, and Q3.

Leave a Reply