# Transformation - Filter data by query doesn't seem to work

**URL:** <https://community.grafana.com/t/transformation-filter-data-by-query-doesnt-seem-to-work/37441>\
**Category:** Grafana\
**Created:** [October 2, 2020, 2:54pm UTC](https://community.grafana.com/t/transformation-filter-data-by-query-doesnt-seem-to-work/37441 "2020-10-02T14:54:01Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![istvan86nagy](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/istvan86nagy/32/13063_2.png) [@istvan86nagy](https://community.grafana.com/u/istvan86nagy)\
**Post date:** [October 2, 2020, 2:54pm UTC](https://community.grafana.com/t/transformation-filter-data-by-query-doesnt-seem-to-work/37441/1 "2020-10-02T14:54:01Z")

</div>

Hi,

I would like to reuse certain queries from another panel so I was really happy finding this transformation, but no matter what I do, I cannot make it work.

I wonder if I am doing something wrong or the feature itself is broken (I know it is in Beta).

Grafana version: 7.2.0

Steps to reproduce:

1. Create a panel with multiple queries

2. Create another panel, as datasource choose ‘Use results from panel’ and select the previous panel  
 ![2020-10-02 16_45_44-Grafana Play Home - Grafana-Use Results from panel](https://us1.discourse-cdn.com/grafana/original/2X/6/604602040e8746f10c9611ac43870518d7cf7193.png)

3. Switch to the transform tab in the query editor

4. Select the transformation ‘Filter data by query’

5. The transformation is added, but the query RefIds are not being showed  

If I am doing something wrong, can you please point it out to me?

Regards,  
Istvan

---

<div class="post-metadata">

**Author:** ![ivonutar](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/ivonutar/32/13282_2.png) [@ivonutar](https://community.grafana.com/u/ivonutar)\
**Post date:** [October 17, 2020, 2:44pm UTC](https://community.grafana.com/t/transformation-filter-data-by-query-doesnt-seem-to-work/37441/2 "2020-10-17T14:44:57Z")

</div>

Hi Istvan! I have exactly the same problem - even on [play.grafana.com](http://play.grafana.com) it does not seem to work properly (with one exception). I already asked on stack overflow ([https://stackoverflow.com/questions/64400302/grafana-7-1-3-cannot-use-filter-by-query-transformation](https://stackoverflow.com/questions/64400302/grafana-7-1-3-cannot-use-filter-by-query-transformation)) and so far did not get the answer. I hope to have this resolved soon.

---

<div class="post-metadata">

**Author:** ![martinfalch](https://avatars.discourse-cdn.com/v4/letter/m/7ab992/32.png) [@martinfalch](https://community.grafana.com/u/martinfalch)\
**Post date:** [March 9, 2022, 7:08pm UTC](https://community.grafana.com/t/transformation-filter-data-by-query-doesnt-seem-to-work/37441/3 "2022-03-09T19:08:20Z")

</div>

I have the same issue - did this get resolved?
