Actions

QS

QS:Matrix Filter

From LimeSurvey Manual

Revision as of 10:31, 12 October 2022 by FuzzyBot (talk | contribs) (Updating to match new version of source page)


Matrix Filter (array_filter)

Beschreibung

Die erweiterte Einstellung Matrix Filter erlaubt Ihnen von Teilnehmer gewählte Antworten aus einer Mehrfachauswahlfrage als Vorgaben für eine Matrix-, Listen- oder Mehrfachauswahl zu benutzen, z.B. um eine weitergehende Beurteilung zu erhalten.

Ab 1.92 können die nachfolgenden Fragetypen gefiltert werden auf Basis jedes Matrix-Fragetypen inklusive:
  • Mehrfachauswahl
  • Mehrfachauswahl mit Kommentaren
  • Mehrfache kurze Texte
  • Mehrfach numerische Eingabe
  • Matrix (5 Punkt 10 Punkt, Ja/Nein/Unbekannt Abnahme/Gleich/Zunahme, Spalte)
  • Matrix (Doppel-Skala, Text, Zahlen)
  • Reihenfolge

Außerdem kann jeder dieser Fragetypen an sich gefiltert werden.

Die einzige Ausnahme ist der Array (nach Spalte)-Fragetyp, der andere Fragen filtern kann, aber selbst nicht gefiltert werden kann.

Filter setzen

Geben Sie den Fragencode einer Mehrfachauswahlfrage in das Textfeld für den 'Matrix Filter' ein. Wenn z.B. die Mehrfachauswahl den Code "Q1" hat, geben Sie "Q1" in das Textfeld für 'Matrix Filter' oder für 'Matrix Ausschlussfilter' in den erweiterten Einstellungen der Frage ein, für die Sie filtern wollen, ein. Ihre gefilterte Frage wird dann nur noch die Antworten anzeigen die in der vorherigen Frage gewählt wurden.

If you wish more questions to be filtered via this option, type the question codes in the box separated by semicolons (;).
  The subquestion codes used in the first question must coincide with the subquestion codes from the second one. Otherwise, the array filter function will not filter the answers to the first question. Note: When you want to filter the "other" answer option from the first question, you need to provide a subquestion for this answer in the second question and the subquestion code for this answer needs to be "other". Check the below example to better understand how the whole system works.


If multiple choice allow other setting: you can choose other for subquestion code and filter with other checked or not.

Kaskadierung

Der Matrix Filter funktioniert kaskadierend, d.h. dass Sie eine Frage auswählen können, die eine andere filtert, die wiederum eine andere filtert usw..

Matrix Filter Beispiel

Let's take a look at the following example to better understand the power of this setting:



In the screenshot from above, we got two questions. The first one is a multiple short text question type, while the second one is an array dual scale question type. The answers you provide in the first question will be listed in the second one. Technically, the answers you provide to the subquestions from the first question are filtered and displayed in the second question.

This example can be downloaded from the following link: limesurvey_group_32.lsg. Import this question group into your LimeSurvey installation.