Menu
Documentationbreadcrumb arrow Grafana Cloudbreadcrumb arrow What's new in Grafana Cloudbreadcrumb arrow Time series macro support in visual query builder for SQL data sources
Grafana Cloud
← Back to What's new
Generally AvailableData sources
Release date: 2024-11-08

Time series macro support in visual query builder for SQL data sources

It is now possible to create time series queries from the query builder in the following data sources. MySQL, PostgreSQL, MS SQL. Use the Data operations drop-down to select a macro like $__timeGroup or $__timeGroupAlias.

Select a time column from the Column drop-down and a time interval from the Interval drop-down to create a time-series query.

SQL query builder time-series query