Examples
Basic Usage
Attributes
Table or view to query
Column for row labels (e.g., provider_type)
SQL aggregation for the filled portion (e.g., count(*) FILTER (WHERE active))
SQL aggregation for the total (e.g., count(*))
Format code for numerator and denominator values. See Value Formatting for available formats.
Component title
Two-color array defining the gradient for bars and badges, e.g. [“#ef4444”, “#22c55e”]. First color maps to 0%, second to 100%.
Two percentage thresholds (0-1) creating 3 color zones: red below first, amber between, green above second. e.g. [0.5, 0.8].
If true, low percentages are green and high percentages are red. Default (false) means high percentages are green. Only applies when thresholds are set.
IDs of filters to apply to the query
Custom SQL WHERE condition to apply to the query. For date filters, use date_range instead.
Custom SQL HAVING condition to apply to the query after GROUP BY
Maximum number of rows to return from the query. Note: When used with tables, limit will disable subtotals to prevent incomplete subtotal rows.
Column name(s) with optional direction (e.g. “column_name”, “column_name desc”)
Custom SQL QUALIFY condition to filter windowed results
Set the width of this component (in percent) relative to the page width

