# How to link two views in a dashboard?

**URL:** <https://discuss.elastic.co/t/how-to-link-two-views-in-a-dashboard/187881>\
**Category:** Kibana\
**Created:** [June 27, 2019, 3:51pm UTC](https://discuss.elastic.co/t/how-to-link-two-views-in-a-dashboard/187881 "2019-06-27T15:51:28Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![daniel.velasco](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/daniel.velasco/32/63458_2.png) [@daniel.velasco](https://discuss.elastic.co/u/daniel.velasco)\
**Post date:** [June 27, 2019, 3:51pm UTC](https://discuss.elastic.co/t/how-to-link-two-views-in-a-dashboard/187881/1 "2019-06-27T15:51:28Z")

</div>

Hi,  
I'm trying to link two elements from differents index.  
I mean, If i have a dashboard with two views and i use a view filter in one of them. I would like to see the row with the same id in the other table.

I don't know if it's possible without create a new index.

For example:

I have the next two view. "contratos" and "entidades":

 ![Captura1](https://us1.discourse-cdn.com/elastic/original/3X/6/7/67f841224012bda4eeb40ff309baeff3397852f0.png)

If I apply the filter "name=contrato1", I can't get the data from another view and I would have the rows with the same id (id=1).

 ![Captura2](https://us1.discourse-cdn.com/elastic/original/3X/5/f/5fa6ac16f7c44b51fe9491acc5ebb00fdebc1a49.png)

The right table should be:

![Captura3](https://us1.discourse-cdn.com/elastic/original/3X/7/0/70a6259c9362fe43a5dea4c85beb0ed3ea581a28.png)

Thank you!

---

<div class="post-metadata">

**Author:** ![markov00](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/markov00/32/33316_2.png) [@markov00](https://discuss.elastic.co/u/markov00)\
**Post date:** [July 25, 2019, 8:25am UTC](https://discuss.elastic.co/t/how-to-link-two-views-in-a-dashboard/187881/2 "2019-07-25T08:25:31Z")

</div>

Hey @daniel.velasco sorry for the late reply.  
Right know is not possible, or to say that in a different way, is not possible with your current configuration of data/indices.  
Filtering in the way you are doing it means to search on every field an occurrence of `contracto1`, so if in your `entidades` you don't have any reference to the `contracto1` it will not shows up as results. I can suggest you to add that reference to the `entidades` index so that you can easily search and filter these two indices.

---

<div class="post-metadata">

**Author:** ![daniel.velasco](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/daniel.velasco/32/63458_2.png) [@daniel.velasco](https://discuss.elastic.co/u/daniel.velasco)\
**Post date:** [July 25, 2019, 8:41am UTC](https://discuss.elastic.co/t/how-to-link-two-views-in-a-dashboard/187881/3 "2019-07-25T08:41:47Z")

</div>

Thanks i will try of this way.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [August 22, 2019, 8:41am UTC](https://discuss.elastic.co/t/how-to-link-two-views-in-a-dashboard/187881/4 "2019-08-22T08:41:53Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
