# Is the any way to present in dashboart visualization based on two indices?

**URL:** https://discuss.elastic.co/t/is-the-any-way-to-present-in-dashboart-visualization-based-on-two-indices/274488
**Category:** Kibana
**Created:** [May 31, 2021, 11:14am UTC](https://discuss.elastic.co/t/is-the-any-way-to-present-in-dashboart-visualization-based-on-two-indices/274488 "2021-05-31T11:14:06Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Gosforth](https://avatars.discourse-cdn.com/v4/letter/g/f08c70/32.png) [@Gosforth](https://discuss.elastic.co/u/Gosforth)
#### Post date: [May 31, 2021, 11:14am UTC](https://discuss.elastic.co/t/is-the-any-way-to-present-in-dashboart-visualization-based-on-two-indices/274488/1 "2021-05-31T11:14:07Z")

</div>

Hi,

I'd like to build a dashboard with visualizations. In first index I have sales details. Let say:  
`product, sale_value, quantity, sale_date.`  
In other index I have:  
`purchase_price, price_date`  
In visualization I'd like chart (like timelion). First line present aggregated sale value by day. Second present aggregated purchase value by day (as above).

I'd like to use filter control with just one date selection field(s)  
Possible to do this in Kibana?

Regards

---

<div class="post-metadata">

### Author: ![Stratoula\_Kalafateli](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/stratoula_kalafateli/32/70923_2.png) [@Stratoula\_Kalafateli](https://discuss.elastic.co/u/Stratoula_Kalafateli)
#### Post date: [May 31, 2021, 11:55am UTC](https://discuss.elastic.co/t/is-the-any-way-to-present-in-dashboart-visualization-based-on-two-indices/274488/2 "2021-05-31T11:55:03Z")

</div>

Hey @Gosforth, correct me if I am wrong.  
You want to add two visualizations based on different indices and every time you change the time to be updated, right?

So let's say that we have two timelion visualizations.  
1st expression: .es(index=index\_1,timefield=sale\_date)  
2nd expression: es(index=index\_2,timefield= price\_date)

If you add them both to a dashboard you can use the time filter to adjust the dates.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/5/1/513950b562ad138b972ce7ed30b0d63349331b9e.png)

---

<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: [June 28, 2021, 11:55am UTC](https://discuss.elastic.co/t/is-the-any-way-to-present-in-dashboart-visualization-based-on-two-indices/274488/3 "2021-06-28T11:55:26Z")

</div>

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