Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Maximum weight-age/value of an answer ?

  • samk9in
  • samk9in's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 6 months ago #174576 by samk9in
Hello,

I am fairly new to LimeSurvey and so far playing around with it. Big thankyou to the developers :)
I am using assessments and Expression Manager and cant figure out as to how to get maximum answer value of a question:
I have setup an array of 10 questions (Q1 till Q10). None mandatory. Every sub-question (SQ001 till SQ010) has a score of 4 till 0. If out of 10, if the user answers 5 questions, then how do I get the maximum weightage/value of each of the 5 sub-questions. In the enclosed picture, user answers Q2,Q4,Q6,Q8,Q10. They score 2,3,2,3,2 = 12 in total out of 20. Which formula do I need to get this 20. I tried the max function but it pulls max value from the answered questions. For example if for a respective answer if the user selects answer having weightage 3 then the max function as 3 instead of 4. {max(Q1_SQ001.value,Q2_SQ002.value,Q3_SQ003.value,IO02_SQ004.value,IO02_SQ005.value)}

I have enclosed a picture for your reference.
Could someone please help :)

Thanks,
Sam
The topic has been locked.
More
5 years 6 months ago #174608 by jelo
Replied by jelo on topic Maximum weight-age/value of an answer ?
The picture was not attached to this thread. But you might better attach a survey example (LSS export).

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose