Welcome, Guest
Username: Password: Remember me

TOPIC: Question About Assessment Sum

Question About Assessment Sum 2 years 9 months ago #73874

  • achellis
  • achellis's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
Survey System Version : 1.92 RC3

I've got a survey with questions like this:

Q0001. Blah blah blah
A. Very Good (assessment = 10)
B. Good (assessment = 7 )
C. Normal ( assessment = 5 )
D. Just So So ( assessment = 3 )
E. Bad (assessment = 0 )

Q0002. Just like above

And I'd configured an equation to sum the score:
sum(if(Q0005.NAOK == 'A', 10, 0), if(Q0005.NAOK == 'B', 7, 0), if(Q0005.NAOK == 'C', 5, 0), if(Q0005.NAOK == 'D', 3, 0),if(Q0002.NAOK...)......)

The question is : is there any more convenient way to do this function like:
sum (Q0001.assessment_Value + Q0002.assessment_Value ... ) ?
The administrator has disabled public write access.

Re: Question About Assessment Sum 2 years 9 months ago #73879

  • Steve
  • Steve's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 494
  • Thank you received: 46
  • Karma: 17
Hello,

I think there are variables called Qcode.value and Qcode.valueNAOK so it might be an idea to try one of these.
docs.limesurvey.org/Expression+Manager#Access_to_Variables
Mit freundlichen Grüßen/Best regards,

Stefan Gohlke
LimeSurvey Team
Last Edit: 2 years 9 months ago by Steve.
The administrator has disabled public write access.
The following user(s) said Thank You: achellis

Re: Question About Assessment Sum 2 years 9 months ago #73880

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5423
  • Thank you received: 307
  • Karma: 252
Once you have found a better solution please post it here.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.

Re: Question About Assessment Sum 2 years 9 months ago #73886

  • achellis
  • achellis's Avatar
  • OFFLINE
  • Fresh Lemon
  • Posts: 3
  • Karma: 0
vierundzwanzig wrote:
Hello,

I think there are variables called Qcode.value and Qcode.valueNAOK so it might be an idea to try one of these.
docs.limesurvey.org/Expression+Manager#Access_to_Variables

Very useful, exactly fits, thanks !
The administrator has disabled public write access.

Re: Question About Assessment Sum 2 years 9 months ago #73889

  • Mazi
  • Mazi's Avatar
  • OFFLINE
  • LimeSurvey Team
  • Posts: 5423
  • Thank you received: 307
  • Karma: 252
achellis wrote:
vierundzwanzig wrote:
Hello,

I think there are variables called Qcode.value and Qcode.valueNAOK so it might be an idea to try one of these.
docs.limesurvey.org/Expression+Manager#Access_to_Variables

Very useful, exactly fits, thanks !
You're welcome :-)

If our hints have been helpful and you enjoy limesurvey please consider a donation to the team .
We do all this in our free time and you don't have to pay a penny for this software.

Without your help we can't keep this project alive.

Best regards/Beste Grüße,
Dr. Marcel Minke
(Limesurvey Head of Support)
Need Help? We offer professional Limesurvey support
Contact: marcel.minke(at)limesurvey.org'"
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.114 seconds
Donation Image