Welcome to the LimeSurvey Community Forum

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

Drag attributes of a 10 point matrix question

  • Eliott13
  • Eliott13's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 9 months ago #217660 by Eliott13
Hello everybody,

I am designing a matrix type question where there is a 10 point scale (1 least important and 10 most important) for various attributes.

However I come across something that I really don't know how to do.

Well, in a later question I need to ask about their 5 most important attributes for the participant and that these are ranked from 1 to 5.

So I separated the first question with a matrix type and the second as a multiple number question.

In the second multiple number question
I am trying to SHOW ONLY THE ATTRIBUTES MARKED WITH CODES 10, IF THEY ARE LESS THAN 5 ATTRIBUTES INCLUDE THE RATED WITH 9, IF THEY ARE STILL NOT AT LEAST 5 INCLUDE THE RATED 8
and so on until the 5 attributes with the highest qualification are displayed.

Is there any way to do this?

I am using LS version 2.70, for this survey since I also have version 3.25 installed but I have found some issues that do not give me confidence to continue with that version for production

Thank you all for your comments.

Greetings. :)
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 9 months ago #217665 by DenisChenu
Replied by DenisChenu on topic Drag attributes of a 10 point matrix question
Can be complex but maybe something like this , using relevance on subquestion

Code are Q01 for the 10 point scale and SQ1, SQ2 for each subquetsion
Code:
(countifop(">",9,that.Q01.NAOK) > 5 and Q01_SQ1.NAOK > 9) OR (countifop(">",8,that.Q01.NAOK) > 5 and Q01_SQ1.NAOK > 8) OR (countifop(">",7,that.Q01.NAOK) > 5 and Q01_SQ1.NAOK > 7)
etc …

I am using LS version 2.70, for this survey since I also have version 3.25 installed but I have found some issues that do not give me confidence to continue with that version for production

3.25 are really better than 2.70 : what issue you have ? Did you report this issue ?

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.
  • Eliott13
  • Eliott13's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 9 months ago #217673 by Eliott13
Replied by Eliott13 on topic Drag attributes of a 10 point matrix question
Thanks Denis,

I already did the tests, I modified the code a little because with the one you share with me it does it for greater than 5, just add> = 5 so that it shows at least the 5 attributes and not 6.

But I have a doubt, I am really looking for you to show me the attributes that have a rating of 10, if among the attributes there are not 5 with a rating of 10, take those of the rating 9, if the 5 attributes still do not meet, take those of the rating 8.

With what you helped me do, take all the attributes with a rating of 10,9,8,7 ...

Is there a way that if there are already 5 or more attributes with the rating 10 it will no longer take the ones with the ratings 9,8,7 ...

Adjunto un archivo lss con la estructura de mis preguntas. :)


In version 3.25 I tried to do this same survey but on some occasions it would not let me save the changes to my question, on some occasions I would update the number of columns I wanted and it would not save me these changes.


Thank you very much Denis,

Get a hug :)
The topic has been locked.
  • DenisChenu
  • DenisChenu's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 9 months ago #217674 by DenisChenu
Replied by DenisChenu on topic Drag attributes of a 10 point matrix question
Oh your right : condition must be

1. Show if P32 is >9 in any condition
2. If count(10) < 5 then show P32 is >8
3. etc ...

Something like this

(P32_1.NAOK > 9)
OR (countifop(">",9,that.P32.NAOK) < 5 and P32_1.NAOK > 8)
OR (countifop(">",8,that.P32.NAOK) < 5 and P32_1.NAOK > 7)

etc ?

Remind :
if you choose 6 item with 10 : it shown 6 item
If choose 4 item with 10 and 4 with 9 : it shown 8 items
etc …
 

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.
  • Eliott13
  • Eliott13's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 9 months ago #217676 by Eliott13
Replied by Eliott13 on topic Drag attributes of a 10 point matrix question
Thank you very much, Denis.

Works like a charm.

It's what I was looking for, you are a master :)
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose