Totaling number throughout a survey

Totaling number throughout a survey

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

Best Answer

  • TomGTomG Raleigh, NC Wizard ✭✭✭✭✭
    Accepted Answer

    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.

Sign In to Comment