# Visualizations and time filter

**URL:** https://discuss.elastic.co/t/visualizations-and-time-filter/224211
**Category:** Kibana
**Created:** [March 19, 2020, 4:32am UTC](https://discuss.elastic.co/t/visualizations-and-time-filter/224211 "2020-03-19T04:32:11Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![c95mbq](https://avatars.discourse-cdn.com/v4/letter/c/bbe5ce/32.png) [@c95mbq](https://discuss.elastic.co/u/c95mbq)
#### Post date: [March 19, 2020, 4:32am UTC](https://discuss.elastic.co/t/visualizations-and-time-filter/224211/1 "2020-03-19T04:32:11Z")

</div>

Hi,

This is such a broad topic and I'm guessing the answer is that this can't be done because of how the index has been setup.

Basically, imagine an index in kibana that has an order\_date\_time field set as the time filter.

For sake of simplicity, say the dashboard contains two visualizations of the same metric:

one that contains a count of all orders placed until _now_  
one that contains a count of all orders placed until _now_ but with the visualization tied to a different date - say the last 24 hours

Some orders will be delivered (well, hopefully all!) and when they do, the document gets updated with a delivered\_date\_time value.

Ideally what I'd like is to in a single dashboard be able to view

how many orders have been placed in total  
how many orders have been placed in the last 24 hours (both of those are fine)  
how many orders have been delivered in total (also fine)  
how many orders have been delivered in the last 24 hours

that last one can't be done as far as I can tell but I'm hoping someone will tell me that it can.

When I tie the orders delivered component to a a different time filter it will automatically use the time filter that the index was created on so short of creating a second index and using the delivered\_date\_time as the time filter.

Is that really the only way this can be achived?

Thank you for your kind help

---

<div class="post-metadata">

### Author: ![nickpeihl](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nickpeihl/32/112622_2.png) [@nickpeihl](https://discuss.elastic.co/u/nickpeihl)
#### Post date: [March 19, 2020, 9:03pm UTC](https://discuss.elastic.co/t/visualizations-and-time-filter/224211/2 "2020-03-19T21:03:45Z")

</div>

Hi Magnus,

I think you should be able to accomplish this using TVSB (Time Series Visual Builder). Each metric layer added to a TSVB chart can have Index pattern and Time field overrides in the "Options" tab.

 ![Screen Shot 2020-03-19 at 2.03.18 PM](https://us1.discourse-cdn.com/elastic/original/3X/f/c/fc489fccb2447e9314e2598526ce0b9bcffc3256.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: [April 16, 2020, 9:07pm UTC](https://discuss.elastic.co/t/visualizations-and-time-filter/224211/3 "2020-04-16T21:07:29Z")

</div>

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