# Variable Query returns no values

**URL:** <https://community.grafana.com/t/variable-query-returns-no-values/41448>\
**Category:** Grafana\
**Created:** [January 8, 2021, 2:20pm UTC](https://community.grafana.com/t/variable-query-returns-no-values/41448 "2021-01-08T14:20:12Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![spencermorrison](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@spencermorrison](https://community.grafana.com/u/spencermorrison)\
**Post date:** [January 8, 2021, 2:20pm UTC](https://community.grafana.com/t/variable-query-returns-no-values/41448/1 "2021-01-08T14:20:12Z")

</div>

I am trying to create a variable from a query.  
The data is hosted in Amazon Time stream.  
When I use explore with the same query as the image attached, I get values.  
However- when I use the query as my variables, I do not receive any values (second image).  
What is causing the variable to not populate with any values?

 ![Grafana image 1](https://us1.discourse-cdn.com/grafana/original/2X/b/b192eb775a326dd33f06eccff9567fa52a01d2de.png)  
 ![Grafana image 2](https://us1.discourse-cdn.com/grafana/original/2X/9/92a0966c4b70fd32863505dd6e1675ca9e313527.png)

---

<div class="post-metadata">

**Author:** ![wlargou](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/wlargou/32/14374_2.png) [@wlargou](https://community.grafana.com/u/wlargou)\
**Post date:** [January 8, 2021, 11:59pm UTC](https://community.grafana.com/t/variable-query-returns-no-values/41448/2 "2021-01-08T23:59:16Z")

</div>

Hi,

Did you try to just use the wellname as value not query (i think you should get unique drop-list)

Good Luck

---

<div class="post-metadata">

**Author:** ![spencermorrison](https://avatars.discourse-cdn.com/v4/letter/s/a9adbd/32.png) [@spencermorrison](https://community.grafana.com/u/spencermorrison)\
**Post date:** [January 9, 2021, 2:06am UTC](https://community.grafana.com/t/variable-query-returns-no-values/41448/3 "2021-01-09T02:06:50Z")

</div>

I do not have value as an option, where would I select WellName as a value?

Thanks again!

 ![Grafana image 8](https://us1.discourse-cdn.com/grafana/original/2X/0/0fde14ebf11c651e272d25eaeee307a2417d495a.png)
