Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
en:create:filter-itemcount [28.11.2014 13:27] – [Loops und Filters] alexander.ritteren:create:filter-itemcount [10.12.2014 15:10] – [At Least One Item Selected] alexander.ritter
Line 3: Line 3:
 Sometimes, it is not sufficient for a filter to check individual answers; but rather all the items in a question have to be looked at. Whether it be to look up corresponding items in another question ([[filter-items|Use Selected Items in Another Question]]) or just to check whether at least one item fulfils a particular condition. An exception to this is the calculation of scale indices within the survey ([[points|Count Points for Answers]]). Sometimes, it is not sufficient for a filter to check individual answers; but rather all the items in a question have to be looked at. Whether it be to look up corresponding items in another question ([[filter-items|Use Selected Items in Another Question]]) or just to check whether at least one item fulfils a particular condition. An exception to this is the calculation of scale indices within the survey ([[points|Count Points for Answers]]).
  
-This chapter describes the function ''getItems()'' and so-called loops -- two tools which allow sophisticated filters over multiple items. The starting point of this chapter is the following question TF04: a scale. The scale's values and the item IDs are shown in the image for additional information.+This chapter describes the function ''getItems()'' and loops -- two tools which allow sophisticated filters over multiple items. The starting point of this chapter is the following question TF04: a scale. The scale's values and the item IDs are shown in the image for additional information.
  
 {{:de:create:scr.filter-itemcount.png?nolink|Filter Question with Multiple Relevant Items}} {{:de:create:scr.filter-itemcount.png?nolink|Filter Question with Multiple Relevant Items}}
  
-The task is now to check if the respondent uses at least one medium at least once a month. Of course, this could be done with 6 individual conditions linked using the AND operator (''and'') ([[filter-boolean|Linking Multiple Conditions]]). How this can be achieved faster and more neatly is described below.+The task is now to check if the respondent uses at least one medium at least once a month. Of course, this could be done with 6 individual conditions linked using the AND operator (''and'') ([[filter-boolean|Linking Multiple Conditions]]). How this can be achieved more efficiently and concisely is described below.
  
 ===== Abstract ===== ===== Abstract =====
Line 100: Line 100:
 **Tip:** If you need the complex determined variable ''$counter'' later on in the questionnaire for another filter, use the function ''[[functions-proc#registervariable|registerVariable()]]''. **Tip:** If you need the complex determined variable ''$counter'' later on in the questionnaire for another filter, use the function ''[[functions-proc#registervariable|registerVariable()]]''.
  
-It is often the casethat only the items for the media used as well should be requested in another question. This process is explained in the chapter [[filter-items|Use Selected Items in Another Question]]. +It is often the case that only items for the media also used should be used in another question. This process is explained in the chapter [[filter-items|Use Selected Items in Another Question]]. 
  
en/create/filter-itemcount.txt · Last modified: 20.01.2015 18:44 by alexander.ritter
 
Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
Driven by DokuWiki