Dashboard variables with key/value pairs - allow duplicate values

  • What Grafana version and what operating system are you using?
    9.5.0 - Linux

  • What are you trying to achieve?
    Selection of variables with key value pairs, where there could be pairs with the same values.

  • How are you trying to achieve it?
    Dashboard JSON provided of dummy dashboard. Variables set with key value pairs of first name to last name, with multi select and allow all options selected.

  • What happened?
    When selecting from the variable drop down, you can’t select an individual item if one or more other items have the same value. For example, if the KV pairs are first name being the key (or text) and with last name being the value, if there are two with the same last name, you can’t select just one of them. It will select both.

  • What did you expect to happen?
    To be able to select individual items, even if they share the same value (e.g. last name)

  • Can you copy/paste the configuration(s) that you are having problems with?
    Yes, I will paste in the Dashboard JSON

  • Did you receive any errors in the Grafana UI or in related logs? If so, please tell us exactly what they were.

  • Did you follow any online instructions? If so, what is the URL?

Example dashboard Json: Grafana dashboard - KeyValue pairs not allowing duplicate keys (github.com)