QuackUIInstall

Filters and prompts

Limit what a report shows, or let the reader decide.

Report filters

A report filter applies to every block on every tab. Drop a field on the filter bar or press Add.

The filter bar with three filters
Choosing a field to filter

Block filters

Select a block and add filters in Properties. They apply to that block alone, as well as the report’s.

  • A filter on a dimension limits rows before anything is added up.
  • A filter on a measure limits results afterwards, such as Net sales is at least 10,000. Crosstabs don’t take these.

Operators

Field Operators
Any is, is not, is one of, is not one of, is empty, is not empty
Numbers and dates less than, at most, greater than, at least, between
Text contains, starts with
Dates in period. See Relative dates

Between includes both ends. A date filter on a timestamp covers the whole day, in UTC.

Values to pick from come from the data, limited to rows you may see.

Prompts

In a report filter, tick Ask the viewer (prompt). Give it a label and, if you like, a default, and say whether an answer is required.

Prompts in Reading
Prompts in Reading. Reset to default undoes the reader's changes.
Prompt Reader does nothing Reader clears it
Optional, no default No filter No filter
Optional, with a default Default applies No filter
Required, with a default Default applies Must answer
Required, no default Blocks wait and say which answer they need Must answer

Sharing answers

Answers are part of the address. Copy it and the other person sees the same view, if they may see the report. Answers that don’t fit any more, because the filter changed type for instance, are ignored with a notice.

Grouping by a filtered field

Filters don’t need the field to be on the page. To show it as well, drop it into a block.