There are many ways to create a filter in Displayr, and some involve transforming the Structure of the data. The Filters from Selected Data automation will automatically create new filter variables for each category in the data you have selected. You will need to do this in a few circumstances, such as when:
- You want a filter variable for each category in a categorical (Nominal) variable.
- You want merged categories and NETs created on a Summary table to become a filter variable.
This article has the steps required to create an individual filter for each answer code shown on the below Page...
The first table is a Nominal variable, and the second table is a copy with categories merged and netted. After running the automation, these will appear in the Data Sources tree as individual Binary - Multi: Non-mutually exclusive categories variables usable in the Filter(s) dropdown on outputs and Filter header on Pages in View Mode.
Requirements
- A Data Set with at least one variable Structured as: Nominal, Ordinal, Binary-Multi, Binary-Grid, or Binary-Multi (Compact).
Method
- In the Date Sources tree, select the variable sets you wish to create filters from.
- Click + > Filter > Filters from Selected Data.
- [Optional] You may be asked to verify which values are counted in the new variable set. Click the Fix button and verify the Selected responses (or the appropriate affirmative response) are counted in the filter:
- [Optional] You can customize how this filter appears in the list of filters in View Mode, see How to Customize the Filter Control List in View Mode. This should be done before applying the filter to any outputs.
The filters are now available to use. To apply a filter, see How to Apply a Filter.
Next
How to Create Filters Using Variables in Your Data
How to Customize the Filter Control List in View Mode
How to Tag a Variable as a Filter
How to Create New Binary Variable(s)