How do I branch based on scores from slider questions? | XM Community
Skip to main content

I have two slider questions in one block that both measure self control. They both score out of 100, 100= low self control, 0 = high self control. Each question in the block has around 10 statements to either agree or disagree with.
How do I make it so that if the person scores over 50 in aggregated scores from each question it will lead them to one branch, and if they score under 50 it leads them to another? So far I have tried using embedded data to make a self control score, the formula goes (Total sum Q9) + (Total sum Q10) /2.
However, when previewing, after filling in the slider questions, it simply takes me to the end of the study.
Where am I going wrong!
Screen Shot 2020-04-12 at 14.50.31.png

I would suggest the following approach:
Step 1: Create a Scoring category and score your questionnaire accordingly (see here for details).
Step 2: Base the If condition (much like you did now) on the newly created scoring category (from Step 1) using Piped Text from Scoring (here for details).
That should work.
Hope that helps.


@olivarolland,
Two things:

  1. Move your calculation for 'self control score' immediately after the 'measuring self control' block. You are trying to branch based on its value before you have calculated it.

  2. Your calculation is incorrect, it should be:

$e{ ( q://QID9/TotalSum + q://QID14/TotalSum ) / 2 }


Leave a Reply