
Examples
Basic Usage

With Explicit Dimensions and Metric
Using Filter in Query

Attributes
The id of the dimension grid to use in a
filters propName of the table to query
Array of column names to display as dimensions. If not provided, auto-detects string columns.
SQL aggregation expression (default: count(*))
Label displayed above the metric values
Format code for the metric values (e.g., “num0”, “usd”, “pct1”). See Value Formatting for available formats.
Maximum number of values to show per dimension (default: 10)
Allow multiple selections per dimension (default: true)
Array of filter IDs to apply when querying dimension values
SQL WHERE clause to filter data
Title displayed above the dimension grid
Subtitle displayed below the title
Set the width of this component (in percent) relative to the page width
Using the Filter Variable
Reference this filter using{{filter_id}}. The value returned depends on where you use it.
| Context | Default Property | No Selection | Result |
|---|
Available Properties
You can also access specific properties using{{filter_id.property}}:
.filter
Returns a complete SQL filter expression combining all dimension selections. Returnstrue when no values are selected.

