I want to create a logic based on this situation:
I have created this embedded data:
BLOCK 1:
Q1=${gr://SC_dbY93us4kd6BU5T/Score}
Q2=${gr://SC_b7xhzByuUqdC81D/Score}
Q3=${gr://SC_3guSk5KAFIPLGUR/Score}
Avg Block1=$e{ ( e://Field/Q3 + e://Field/Q4 + e://Field/Q5 ) / 3 }
BLOCK 2:
Q6=${gr://SC_8iXaxyetjv0bPtb/Score}
Q7=${gr://SC_0oYCuhWm0PJJdf7/Score}
Q8=${gr://SC_3sfvVIbRyT8MUwB/Score}
Avg Block2=$e{ ( e://Field/Q6 + e://Field/Q7 + e://Field/Q8 ) / 3 }
So now I want to create an embedded data with a range like Low,High, Medium
Low = when Avg Block 1 or Block 2 is less than 2.50
Medium = When Avg Block 1 or Block 2 is between 2.51 to 3.50
High= When Avg Block 1 or Block 2 is between 3.51 to 5
Can anyone suggest how to create this logic in survey flow. I want to insert this High , Medium, Low in an end of survey message to respondents as a piped text telling them that after the survey they fall in these categories.
I tried math operation, but i think LOW = $e{ e://Field/Block1%20Avg > 2.50 } is wrong and not displaying any result.
Did this work? I'm here because I'm stuck with the following logic.
LearnerScore = $e{round((${gr://SC_4InaTHbAqsr5O2F/WeightedMean}-1)*100/6)}
ConsumerScore = $e{round((${gr://SC_1L0fJKBohzTjsUZ/WeightedMean}-1)*100/4)}
I then have some branches, e.g. If LearnerScore is greater than 50 and ConsumerScore is greater than 50
None of these branches are being activated. I've already clicked on Options and set the two scores as Number.
The scores display okay. I could try passing the value to JavaScript and then set further embedded variables there but I feel like it ought be be possible just with survey flow logic.
Thanks in advance.
Wakefield
https://www.qualtrics.com/community/discussion/comment/31730#Comment_31730The math operation syntax are incorrect. Use the below:
$e{ round( ( gr://SC_4InaTHbAqsr5O2F/WeightedMean - 1 ) * 100 / 6 ) }
$e{ round( ( gr://SC_1L0fJKBohzTjsUZ/WeightedMean - 1 ) * 100 / 4 ) }
Leave a Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.