What's new from Grafana Labsbreadcrumb arrow SQL Expressions support in Grafana Assistant
What's new from Grafana Labs
What's new from Grafana Labs
Grafana Cloud Generally Available Open source Enterprise Available in public preview AI Dashboards and visualizations
Release date: 2026-04-14

SQL Expressions support in Grafana Assistant

SQL Expressions let you combine and transform data across multiple queries using familiar SQL-joining results, computing ratios, and filtering before aggregating. But to use it, you had to know the feature existed, learn that your query names become table names, and get the MySQL-dialect syntax right yourself.

Now, Grafana Assistant knows SQL Expressions. Describe what you want, and Assistant writes the SQL for you-correct syntax, correct table references, correct column conventions–and applies it to your panel.

How it works

When you ask Grafana Assistant for cross-query data work, it now considers SQL Expressions and reaches for it when it’s the right fit. Grafana Assistant checks whether SQL Expressions is enabled on your Grafana instance before suggesting it, and draws on built-in knowledge of the syntax and conventions so you don’t have to.

Grafana Assistant generating a SQL Expression that joins two Prometheus queries to show error rate by API path
Given a problem to solve, Grafana Assistant recognizes SQL Expressions as the right tool and writes the query – joining, filtering, and aggregating across queries.

Related What's new posts