UI: cannot select single value for variable

  • What Grafana version and what operating system are you using?
    v8.0.3
    Windows

  • What are you trying to achieve?
    Select a single value in a multi-value variable

  • How are you trying to achieve it?
    Clicking on it as I usually do

  • What happened?
    All values get selected instead

  • What did you expect to happen?
    Only that value would get selected

  • Can you copy/paste the configuration(s) that you are having problems with?
    This is what the variable definition looks like
    * In fact it had “Include all options” selected, neither works
    ** I also tried adding quotes to the value part of the text, it doesn’t seem to make a difference

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.
    I click on one value:
    Capture1
    All the values show as selected:
    Capture2
    When I close the drop-down, it shows as if only the variable I had clicked was selected:
    Capture3
    But the dashboard behaves as if all were selected (below is a panel that repeats based on that variable)

  • Did you follow any online instructions? If so, what is the URL?
    Couldn’t find anything similar to this

can you copy and paste the text inside Values separated by comma?

then someone in the forum can try and mock this up and troubleshoot it with you

also you might want to check out this issue:

Sorry about the delay. The values are

BOD : mg/L,COD : mg/L,TSS : mg/L,TN : mg/L,TKN : mg/L,NH4 : mg/L,TON : mg/L,NO3 : mg/L,NO2 : mg/L,NOx : mg/L,TP : mg/L,PO4 : mg/L,FOG-Extractable : mg/L,pH : -, Temperature : C,Conductivity : uS/cm,Alkalinity : mg/L,Cl2 : mg/L,DIN : mg/L,Fe : mg/L,InertSolids : mg/L,ORP : mg/L,PercentageInertSolids : %,S2 : mg/L,S2O3 : mg/L,Salinity : mg/L,SO4 : mg/L,Turbidity : mg/L,VSS : mg/L

Yes, this seems to be it. I was a bit surprised to learn that there are no plans to work on this, but guess I’ll have to wait.
Thanks!

1 Like