Metric
Display a single prominent number on your dashboard
Displays a single prominent number. Ideal for KPIs like total revenue, user count, or conversion rate.
SQL Shape
Return at least one numeric column. Only the first row is used.
SQL
Options
| Option | Description |
|---|---|
| Format | Number (1,234), Decimal (1,234.56), Percent (12.5%), or Currency |
| Currency | 24 currencies supported (USD, EUR, GBP, JPY, etc.) |
| Compare | Show percentage change against a second numeric column |
| Color by change | Turn the tile green (positive) or red (negative) based on comparison |
| Background | Pick from 14 gradient colors |
Compare Mode
When enabled, the query should return two numeric columns. The first is the current value, the second is the comparison value.
SQL
The tile shows the current value (e.g. $52,400) with a badge like ↗ +12.5%.
Conditional Display
Metrics support conditional logic. Each condition branch can have its own display formatting and background color. See Conditional Display for details.