- Posts: 2
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Determine Personal Preference
- rjzcoza
- Topic Author
- Offline
- New Member
Less
More
7 years 8 months ago #137963
by rjzcoza
Determine Personal Preference was created by rjzcoza
I have for categories example A,B,C & D and have 24 questions each with 4 possible answers.
When taking the survey I am only allowed to select one answer from the possible four answers for each question.
Each of the 4 possible answers is mapped back to one of the four categories.
Based on your answers selected I would like to calculate your highest category (#answers grouped by category)
Is this possible in LimeSurvey
When taking the survey I am only allowed to select one answer from the possible four answers for each question.
Each of the 4 possible answers is mapped back to one of the four categories.
Based on your answers selected I would like to calculate your highest category (#answers grouped by category)
Is this possible in LimeSurvey
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3690
7 years 8 months ago #137983
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Determine Personal Preference
You can do this using Expression manager in equation type questions.
1) The category "scores" - four equation questions, each with an expression something like:
2) The highest category - an equation question with an expression something like:
1) The category "scores" - four equation questions, each with an expression something like:
Code:
{sum(q1==1, q2==1, q3==1...q24==1)}
2) The highest category - an equation question with an expression something like:
Code:
{max(category1Score, category2Score, category3Score, category4Score)}
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: rjzcoza
The topic has been locked.
- rjzcoza
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
7 years 8 months ago #138041
by rjzcoza
Replied by rjzcoza on topic Determine Personal Preference
Tx's Tpartner
I'm a total newbie to limesurvey and will definitely give your advice an attempt.
I'm a total newbie to limesurvey and will definitely give your advice an attempt.
The topic has been locked.