Select All in Combo boxes returns Total Sample
under review
J
Jamie Morris
Merged in a post:
Define "ALL" selection in combo-box to be all respondents - not all respondents that match the categories of the combo-box
V
Violet Marmoset
A user had a combo-box filter. The combo-box was checking categories on a categorical variable. But the combo-box did not contain all of the categories of the categorical variable. However, he wanted the combo-box to function such that if “ALL” were selected, then no respondents would be filtered out.
J
Jamie Morris
under review
J
Jamie Morris
Merged in a post:
Control Box selection
C
Cyan Newt
The current behavior of the Multi-select control box is to filter the sample to all the codes included in the Box.
Example.
A Gender question has Male, Female, and Prefer not to say + Missing Data
The Missing data is excluded from analysis (set as Missing)
The Control Box shows as (Select All), Male, Female, Prefer Not to say
When Select All is included the results exclude Missing data. That is the intended behaviour.
Often users add numerous Controls to one Page and want the outputs to return a Total sample if Select All is selected.
To do that, they will use Custom R Code (example below):
Counts the number of selecting in the control box and if all are selected returns the value of 1 for all respondents
{noformat}gender = if (length(ComboBoxWhatgenderdoyouidentifyas) == 3) {
rep(TRUE,length.out = length(CollectorID))
} else {
trimws(Aug 2022 PMF Merged data file - master.sav$Variables$q0043) %in% ComboBoxWhatgenderdoyouidentifyas
}{noformat}
To avoid user writing Code we could add a feature that would allow users to Include Missing data even if it’s not present in the Control Box.
J
Jamie Morris
Merged in a post:
Set Combo box to return total sample (inc missing)
H
Historical Wren
This is one of the more common (and harder to explain) tickets with Displayr.
Combo Box with all values selected doesn’t return the total sample - only the values included.
Users use R code to get around this. Most of our larger Displayr clients (GfK, Norstat, Data Expert) do this in every dashboard - and with dozens of Controls.
J
Jamie Morris
Merged in a post:
Include Missing Values in Combo Box
R
Rose Sawfish
When selecting _All_ in a Multi-selection Combo Box it returns the sample for all codes present in the Combo Box.
Add a feature to allow user to select an option to return a whole sample (even if some codes aren’t present in the Control)