Grafana version 7.3.3.
I have a Custom variable created on top of JSON Datasource. Below payload I used to populate the variable options $Project
[{"text": "Proj1", "value": "1"}, {"text": "Proj2", "value": "2"}].
Now for the templating query I want to use text of selected $Project dropdown . For e.g.
fields.Project:$Project.__text something like this . But I am only getting the value of selected variable $Project not the text.
Is there is a way to get it .
I have found a solution:
${variable_name:text}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With