QS: Matrix-Ausschluss-Filter
From LimeSurvey Manual
Array exclusion filter (array_filter_exclude)
Beschreibung
The Array filter exclusion advanced setting allosw you to use a multiple choice question to select or set which responses won't display in a subsequent list, array or multiple choice question.
- Multiple choice
- Multiple choice with comments
- Multiple short text
- Multiple numeric
- Array (5 point, 10 point, Yes/No/Unknown, Increase/Same/Decrease, Column)
- Array (Dual Scale, Text, Numbers)
- Ranking
Furthermore, each of these types of questions can filtered.
The only exception is Array (Column), which can filter other questions, but can not itself be filtered.To set a filter
Enter the question code of a multiple options question to use as the source information. For example, if your source multiple option question code is "Q1" enter "Q1" into 'Array filter exclusion' input in the advanced settings of the question you want to filter.
The source question has to contain exactly the same list of answers/subquestion as the question you wish to filter. Your question will then only display those answers/subquestion that were not selected in the multiple options question.
If the questions do not have exactly the same set of answers/subquestions and codes, then the filters will break.
Cascading
The Array filter exclusions settings will cascade – that is you can select a question which filters another question, which filters another question, and so on.
Example
Ticking items 'One' and 'Three' in the first question results in those questions not being displayed in the subsequent question which users array filter exclusion
Multi Option Question
Code:Q1
Question: Which animals do you like?
1 Cat
2 Dog
3 Zebra
Array 5 Point Choice Question