Answered

Average score per variable at the ending

  • 26 March 2024
  • 3 replies
  • 28 views

I am creating a type form to get an average score per variable.

So I created 3 variables with 10 questions each and the possibility to answer with an opinion scale from 1-10. At the end I want to show the average score per variable. How to do this?

So the user can see when they are experience negative stress or not per topic.

icon

Best answer by john.desborough 26 March 2024, 16:55

View original

3 replies

Userlevel 7
Badge +5

Hi @Sdevr Welcome to the community! Happy to have you here. I believe @john.desborough has a lovely cheat sheet on setting up multiple variables and calculating their averages!

Hi @Liz thanks for your answer. Would be lovely to have that sheet. Hope it helps. I have search for hours to find the right information, but it got me stuck. 

Userlevel 7
Badge +6

@Sdevr - you don’t need the cheat sheet lol.. but here’s the simple process, some of which you might have already put in place: 

  • on each question, use a logic rule to assign the point total of the answer to the variable 
    • add q1 to variable_one
    • add q2 to variable_two.. 
    • etc
  • at the end, you put in a logic rule(s) to get the average
    • create three variables for v_avg_one, v_avg_two, v_avg_three for example
    • add variable_one to v_avg_one
    • divide v_avg_one by 10 (ie 10 questions per variable to get avg for the variable) 
      • same for the other two variables. 
  • now you can use recall to show the average values for each variable 
    • here’s your average scores: 
      • Topic one: @recall v_avg_one 
      • Topic two: @recall v_avg_two 
      • Topic three: @recall v_avg_three
    • do that on a statement page or some other type of question that will allow the user to select where to go next

just a quick summary 

 

des

Reply