Support for __text
and __value
in variables
#120
Labels
pending-closure
This issue is stale and will be cleaned up
__text
and __value
in variables
#120
Describe the bug
In Grafana, users can set up query variables to build variable lists for filtering their dashboards. To support a key/value structure to these lists, there is the option of using
__text
and__value
(ref) as aliases so one value will be displayed and one will be used as the filter.This datasource automatically throws an error whenever more than one field is returned when building this list (src) which prevents this functionality from working.
To Reproduce
Steps to reproduce the behavior:
SELECT id AS __value, login AS __text FROM user
Versions (please complete the following information):
The text was updated successfully, but these errors were encountered: