Welcome to the LimeSurvey Community Forum

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

Array filter

  • scene143
  • scene143's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 8 months ago #203028 by scene143
Array filter was created by scene143
Hi Team,

(I want to show only those who selected in Q1a/Q1b) Both are multi choice questions.i tried in Array filter but am not getting what i need .

Q1a;Q1b

Can anyone help me on this.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 8 months ago #203030 by Joffm
Replied by Joffm on topic Array filter
Hi,
very probably you havee an error in coding.
1. The subquestion codes of result must be exactly the same as in the previous questions.
2. The subquestion codes of the previous question must not be equal.

Example:
Q1a:
SQ001: Ant
SQ002: Badger
SQ003: Cat
SQ004: Dog

Q1b:
SQ005: Eagle
SQ006: Fox
SQ007: Goose

Result:
SQ001: Ant
SQ002: Badger
SQ003: Cat
SQ004: Dog
SQ005: Eagle
SQ006: Fox
SQ007: Goose

And your array filter is correct.



Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • scene143
  • scene143's Avatar Topic Author
  • Offline
  • Senior Member
  • Senior Member
More
3 years 8 months ago #203036 by scene143
Replied by scene143 on topic Array filter
Thank you for your quick reply.

Here my scenario is Q1a & Q1b are same Answers (Choices) but i want to show in Q3 those who selected Q1 / Q2.

This i tried in Arrary filter Q1a;Q1b it is showing only Q1a selected brands.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 8 months ago #203089 by Joffm
Replied by Joffm on topic Array filter
Hi,
1.we do not see what you did. (lss export)
2. In this case you may use subquestion relevance as well.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose