Assessments - count only the maximum value

More
1 month 1 week ago #188662 by ch123
Hi all.
I'm new to LimeSurvey... hopefully you could help me :)
My survey has 20 questions (scored from 1 to 5) and I need to show a total score at the end of the survey. So far I could use the assessments tool for it. But there are three subquestions in item 15 and I just want to count the highest value of the three answers into the total score.
Is this possible?

Thank you for any help!

Please Log in or Create an account to join the conversation.

LimeSurvey Partners
More
1 month 1 week ago #188684 by Joffm

My survey has 20 questions (scored from 1 to 5)

What type of question? List(radio)?

But there are three subquestions in item 15

And what is this? An array - because of the subquestions?

As example:

If you have your answer options coded "1", "2",... and not "A1", "A2",...
and the answer options of the array as well,
you can use Expression Manager to calculate your score:
{sum(Q1.NAOK,Q2.NAOK,Q3.NAOK,...Q20.NAOK,max(Q21_SQ001.NAOK,Q21_SQ002.NAOK,Q21_SQ003.NAOK))}
Here I named your "item 15" with the subquestions "Q21".

But without knowing your exact structure ...

Best - as usual - is to send a small example of your survey as *.lss export.

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: ch123

Please Log in or Create an account to join the conversation.

More
1 month 1 week ago #188703 by ch123
Hey Joffm.
Thank you, that worked perfectly!
Actually, I used an array for all the questions... but your solution still worked.

Please Log in or Create an account to join the conversation.

More
1 month 1 day ago #188961 by ch123
Hey Joffm.
Maybe you could help me again... so far, I wrote the code for the score in a question text. Everything worked fine. But the score isn't stored in my answers and I can't see the score after exporting the data. I'm pretty sure that there is a solution, but I don't get it.
Thank you :)

Please Log in or Create an account to join the conversation.

More
1 month 1 day ago #188969 by Joffm
Use a question of type eqation.
Here you calculate the score.


Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!