how to sum assessment values from Array questions?

More
9 months 2 days ago #160709 by Siem
Siem created the topic: how to sum assessment values from Array questions?
My survey has 60 Array questions. For each question participants can choose 1 of 5 options.

The question codes a Q1 - Q60 and the answer codes A1 - A5 with a different assessment value for each answer code.


I want to sum all the assessment values from all of the answers in a calculation in a hidden equation, but nothing I have tried worked.

How should I do this?

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

More
9 months 2 days ago - 9 months 2 days ago #160711 by Joffm
Joffm replied the topic: how to sum assessment values from Array questions?
What did you try?

Send your sample (*.lss)

And do you want to use the assessmant feature or calculte the sums with equations?

Best regards
Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
Attachments:
Last Edit: 9 months 2 days ago by Joffm.
The following user(s) said Thank You: Siem

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

More
9 months 2 days ago #160736 by Joffm
Joffm replied the topic: how to sum assessment values from Array questions?
And something else:
https://manual.limesurvey.org/Expression_Manager_examples#Using_Expression_Manager_for_Assessments

and

New Variable Attributes - you can access the following to do your tailoring:

(no suffix) - an alias for qcode.code
.code - the selected response code for the question if it is relevant (otherwise blank), or the text value if it is not a coded question
.NAOK - same as .code, but can be part of calculations or lists even if irrelevant
.value - the assessment value for the question if it is relevant (otherwise blank), or the text value if it is not a coded question
.valueNAOK - same as .value, but can be part of calculations or lists even if irrelevant


So, if you use assessment values, you get it by "Q1.value" or "Q1_SQ001.value" resp. with added NAOK.

Joffm


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

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

More
8 months 4 weeks ago #160804 by Siem
Siem replied the topic: how to sum assessment values from Array questions?
Hi Joffm,

Thanks for the replies, I got the value by using "Q1_SQ001.value", now I can finish the survey :)

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!