# Getting values for a key in CSV using infinity plugin

**URL:** <https://community.grafana.com/t/getting-values-for-a-key-in-csv-using-infinity-plugin/120584>\
**Category:** Grafana\
**Tags:** infinity-datasource, csv\
**Created:** [April 30, 2024, 2:11am UTC](https://community.grafana.com/t/getting-values-for-a-key-in-csv-using-infinity-plugin/120584 "2024-04-30T02:11:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![pratikdasbaghel1](https://avatars.discourse-cdn.com/v4/letter/p/898d66/32.png) [@pratikdasbaghel1](https://community.grafana.com/u/pratikdasbaghel1)\
**Post date:** [April 30, 2024, 2:11am UTC](https://community.grafana.com/t/getting-values-for-a-key-in-csv-using-infinity-plugin/120584/1 "2024-04-30T02:11:05Z")

</div>

Below is my CSV data -

```auto
"Venue","SetupName","GNBID"
"ABC","ABC_1",1
"ABC","ABC_2",2
"XYZ","XYZ_3",3

```

I want to have two variables “Venue” and “SetupName” in grafana, where “Venue” should have dropdown “ABC” and “XYZ”, based on my selection in Venue, “SetupName” should update. I am using infinity plugin and csv file, tried using UQL as well, but unable to do so. Can anyone help?

---

<div class="post-metadata">

**Author:** ![yosiasz](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/yosiasz/32/45847_2.png) [@yosiasz](https://community.grafana.com/u/yosiasz)\
**Post date:** [April 30, 2024, 4:43am UTC](https://community.grafana.com/t/getting-values-for-a-key-in-csv-using-infinity-plugin/120584/2 "2024-04-30T04:43:17Z")

</div>

you can check the docu here

[https://grafana.github.io/grafana-infinity-datasource/docs/uql](https://grafana.github.io/grafana-infinity-datasource/docs/uql)

please post what you have tried

---

<div class="post-metadata">

**Author:** ![sowdenraymond](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/sowdenraymond/32/38541_2.png) [@sowdenraymond](https://community.grafana.com/u/sowdenraymond)\
**Post date:** [April 30, 2024, 8:05am UTC](https://community.grafana.com/t/getting-values-for-a-key-in-csv-using-infinity-plugin/120584/3 "2024-04-30T08:05:41Z")

</div>

> [@Access to the value of a custom variable key:value from another custom variable value](https://community.grafana.com/t/access-to-the-value-of-a-custom-variable-key-value-from-another-custom-variable-value/118039/4):
>
> [image]
