How to to plot in a graph values from two different fields selected by a multi value variable

Hi matteodt,

you can use your multivalue variable in select statement like this:
SELECT $__time(mydate), ${mymultivaluevar:csv} FROM ....
see: https://grafana.com/docs/grafana/latest/datasources/mssql/#using-variables-in-queries

grassu

1 Like