You can permanently limit elements to a given subset of respondents by applying the current scenario as a filter.
This is particularly useful to represent skip logic, where a question may apply only to a subset of respondents.
For example this survey asks respondents for their specialty, and if their specialty is "Practice Nurse" asks for their nursing band:
Here we can see that 60% of all respondents have missing values for Nursing grade, because this question was asked only of Practice Nurses.
Create a scenario
Define the relevant subset of respondents by pressing on values to create a scenario (see Press to query tutorial).
Press the edit icon and select "Filters..." from the context menu:
In the Filters dialog select "Apply current filters" and press Ok:
The element is now permanently limited to Nurses, and this is automatically labeled in the footnote:
The element filter is applied in addition to global and current filters.
Filters applied to a group are recursively set for child elements within the group.
You can override the automatic footnote by editing it. Pressing on it once to make it editable and type preferred text.
To clear a filter, select "Clear filters" from the Filters dialog.
Editing the filter in JSON
Filters can be also be edited using the "Edit JSON..." option in the context menu. This can be useful for advanced cases.
For example, the above S2 filter will have the "filter" attribute set using the MongoDB logic: