Welcome to the LimeSurvey Community Forum

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

sum of score from questions

  • kwlam20
  • kwlam20's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
5 years 6 hours ago #181911 by kwlam20
sum of score from questions was created by kwlam20
I want to have assessment of the sum of score of 2 questions. they are array questions. There are total 3 questions.
If the assessment is: The sum is {TOTAL}, I can get the total score
If the assessment is: The sum is {SUM(DASS1.VALUE,DASS6.VALUE)}, it just shows the same text but cannot give the sum
Can you help me, please? It is urgent as I need to finish it early.
Thank you very much.
I can provide the .lss if necessary
The topic has been locked.
More
4 years 11 months ago - 4 years 11 months ago #181924 by cdorin
Replied by cdorin on topic sum of score from questions
Please provide the .lss file with the work you have done so far.

Manual: manual.limesurvey.org/LimeSurvey_Manual
Bugs tracker: bugs.limesurvey.org/my_view_page.php
If you self-host and need help, contact one of our partners: limesurvey.com
Please do not contact me via PM - thank you.
Last edit: 4 years 11 months ago by cdorin.
The topic has been locked.
  • kwlam20
  • kwlam20's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 11 months ago #181932 by kwlam20
Replied by kwlam20 on topic sum of score from questions
i have a test survey.
I have 3 questions, Q01, Q02, Q03.
I can have the sum of the 3 questions, by {TOTAL}
However, I want to have sum of Q01 and Q02 but it failed
The zip file is attached. Thanks.

File Attachment:

File Name: surveys_archive3.zip
File Size:4 KB
The topic has been locked.
More
4 years 11 months ago - 4 years 11 months ago #181969 by cdorin
Replied by cdorin on topic sum of score from questions
See manual.limesurvey.org/Assessments#Assessment_placeholders .

Expressions cannot be used inside assessment messages.

My advice would be to use to use only expressions. Use as last question a "text display/equation" question to display the result to your respondents.

To show whether someone is stressed or has anxiety... use the "if" condition. For examples on expressions usage, see manual.limesurvey.org/Expression_Manager_sample_surveys .

P.s. Please note that the assessment scores are not stored by default in the response table! (in case you wish to analyse them later in the future). You need to create hidden equations where to store the scores (either using assessment placeholders or expressions inside them)

Manual: manual.limesurvey.org/LimeSurvey_Manual
Bugs tracker: bugs.limesurvey.org/my_view_page.php
If you self-host and need help, contact one of our partners: limesurvey.com
Please do not contact me via PM - thank you.
Last edit: 4 years 11 months ago by cdorin. Reason: grammar
The topic has been locked.
  • kwlam20
  • kwlam20's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 11 months ago #181985 by kwlam20
Replied by kwlam20 on topic sum of score from questions
Thank you very much.
I am sorry that I am in a hurry and need to finish within 2 days.
It is only a test version and my actual survey has 3 groups and 21 questions. The questions are arranged in random order not according to the groups.
Finally, I need to give their scores in each group.
In the test version, can how I give the score of anxiety as sum of question 1 and 2 and then score of stress as sum of question2 and 3.
In fact, I am new to limesurvey and I am not an IT experts. Can you teach me, please?
Should I add a new group of result, group 2 and produce 3 questions? How to produce these 3 equations from the result of the result in group 1?
Thank you very much and looking forward to your reply as I am in an urgent condition.
Thanks.
The topic has been locked.
More
4 years 11 months ago #181986 by kwlam2020
Replied by kwlam2020 on topic sum of score from questions
In fact, I can get the subtotal score of each group.
Is it possible that I can randomize the questions on the survey but not affect the result
For example:
I have
Group1: G1Q1, G1Q2, G1Q3
Group 2: G2Q1, G2Q2, G2Q3
Group 3: G3Q1, G3Q2, G3Q3

Instead the survey as
G1Q1
G1Q2
G1Q3
G2Q1
G2Q2, etc


I would like to randomize it as
G2Q1
G3Q1
G1Q3
G2Q2
G3Q2, etc

There is function of randomization group. Can it get this way?
I have try but it seems no effect.

Please help me to solve the problem
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 11 months ago #181993 by DenisChenu
Replied by DenisChenu on topic sum of score from questions
In manual.limesurvey.org/Question_type_-_Sh...e_.28random_group.29 of
G1Q1,G2Q1,G3Q1 : enter Q1
G1Q2,G2Q2,G3Q2 : enter Q2
G1Q3,G2Q3,G3Q3 : enter Q3

Then you have for order
In 1st group shown : G2Q1,G3Q2,G1Q3
In 2nd group shown : G3Q1,G1Q2,G2Q3

for example

Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
  • kwlam20
  • kwlam20's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 11 months ago #182070 by kwlam20
Replied by kwlam20 on topic sum of score from questions
I have try to construct the survey as follows
Group 1: Q1, Q2, Q3 all are array with a score
Group 2: Q4: sum of Q1 and Q2 score by equation
Group 3: Q5: sum of Q2 and Q3 score by equation

I can get the numerical value in Q4 and Q5 automatically after filling in Q1, Q2, Q3

I want to get the assessment after submission as that
The score in group 2 is {PERC}
The score in group 3 is {PERC}


The first one I choose group 2 and set the minimum and maximum
The scond one I choose group 3 and set the minimum and maximum

However, the assessment is not displayed as expected and there is no assessment.

Can you help me, please?
Can it be done?

Thanks.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose