Evidence pages are written in markdown, with additional syntax for adding SQL queries and charts.
data
attribute.
{{query_name}}
syntax. The referenced query will be wrapped in parentheses and substituted in place.
{{filter_id.property}}
syntax, where filter_id
is the id
attribute you gave to your filter component. This allows dynamic filtering based on user interactions.
All available filters for your page can be found in the Filters tab in the sidebar. Each filter component offers different filter properties. For example, the dropdown component offers a .selected
property, a .literal
property, and a .filter
property.
.filter
property, which provides a complete SQL filter expression ready to use inside of a where clause.
[[...]]
to include SQL clauses only when filters have values:
|
syntax:
|
will be used.