configure_discarded_categories
configure_discarded_categories
Configures a minimum number of rows in a category below which the category will be hidden from the variable’s filter view.
configure_discarded_categories(column: category|list[category]|text, {
"param": value,
...
})
configure_discarded_categories(column: category|list[category]|text, {
"param": value,
...
})
The column to configure.
A list of threshold configurations. A categorical column can have two kinds of thresholds determining whether specific categories will be hidden from its view in the UI: a minimum number of rows in the current selection below which a category will be hidden, or a minimum number of rows in the whole dataset (everything).
The thresholds
parameter should be a list containing 1 or 2 objects: the configuration of a selection
threshold, and/or the configuration of a threshold for everything.
Was this page helpful?
configure_discarded_categories(column: category|list[category]|text, {
"param": value,
...
})