Image
Display an image selected conditionally based on query data
Displays an image from a URL, selected conditionally based on query data.
SQL Shape
Any query. The first column of the first row is evaluated against conditions.
SQL
Conditions
Conditions are evaluated top-to-bottom. The last matching condition wins. If nothing matches, the first condition is used as a fallback.
| Operator | Description |
|---|---|
= | Exact string match |
!= | Not equal |
> | Numeric greater than |
< | Numeric less than |
is null | Value is null |
is not null | Value exists |
Example Conditions
| Operator | Value | Image URL |
|---|---|---|
= | healthy | https://example.com/green-check.png |
= | degraded | https://example.com/yellow-warning.png |
= | down | https://example.com/red-alert.png |
See Conditional Display for more details on how conditions work.