Using Variables to dynamically select Columns in MySQL

Grafana offer the posibility to change the form that the variables are interpolate.
I just thought that being specific could help. Now I see that in the documentation this is named.

Disabling Quoting for Multi-value Variables

Grafana automatically creates a quoted, comma-separated string for multi-value variables. For example: if server01 and server02 are selected then it will be formatted as: 'server01', 'server02' . Do disable quoting, use the csv formatting option for variables:

${servers:csv}

Read more about variable formatting options in the Variables documentation.

5 Likes