# Time filter is not applying in the dash board

**URL:** https://discuss.elastic.co/t/time-filter-is-not-applying-in-the-dash-board/336617
**Category:** Kibana
**Created:** [June 21, 2023, 6:59pm UTC](https://discuss.elastic.co/t/time-filter-is-not-applying-in-the-dash-board/336617 "2023-06-21T18:59:33Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![Kumar\_Abhinav](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kumar_abhinav/32/122208_2.png) [@Kumar\_Abhinav](https://discuss.elastic.co/u/Kumar_Abhinav)
#### Post date: [June 21, 2023, 6:59pm UTC](https://discuss.elastic.co/t/time-filter-is-not-applying-in-the-dash-board/336617/1 "2023-06-21T18:59:33Z")

</div>

Hi, I have made a dashboard for some KPIs. When I try to filter with Time periods, at that time, some of the visuals are getting updated and some of them are not . I have used TimeStamp in all the dashboards. Attached are the screenshots of the same.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/4/b/4bee3fecfa0070a018e94fd4c7de078d9ad934ab.png)  
After filtering to the last 1 year.. no visuals are getting updated.  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/1/4/14fc8ec2561f8ee715a41cb49cbc5275a5268f3b.png)

---

<div class="post-metadata">

### Author: ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)
#### Post date: [June 21, 2023, 8:36pm UTC](https://discuss.elastic.co/t/time-filter-is-not-applying-in-the-dash-board/336617/2 "2023-06-21T20:36:37Z")

</div>

Do all panels use the same data view? Does your data view have the time field configured?

The time filter is applied to a Data View's time field. If a data view does not have a time field, then the global time filter is not applied to the panel.

---

<div class="post-metadata">

### Author: ![Kumar\_Abhinav](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kumar_abhinav/32/122208_2.png) [@Kumar\_Abhinav](https://discuss.elastic.co/u/Kumar_Abhinav)
#### Post date: [June 21, 2023, 9:13pm UTC](https://discuss.elastic.co/t/time-filter-is-not-applying-in-the-dash-board/336617/3 "2023-06-21T21:13:32Z")

</div>

Yes, I use the same data view, but while creating the index, I selected "Do not use timestamp".

---

<div class="post-metadata">

### Author: ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)
#### Post date: [June 21, 2023, 9:26pm UTC](https://discuss.elastic.co/t/time-filter-is-not-applying-in-the-dash-board/336617/4 "2023-06-21T21:26:03Z")

</div>

> while creating the index, I selected "Do not use timestamp".

This is your problem. Your data view does not have a time field. Go to "Stack management" -\> "Data views" and select your data view. Click the "edit" button and add a time field for your data view.

---

<div class="post-metadata">

### Author: ![Kumar\_Abhinav](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/kumar_abhinav/32/122208_2.png) [@Kumar\_Abhinav](https://discuss.elastic.co/u/Kumar_Abhinav)
#### Post date: [June 21, 2023, 9:51pm UTC](https://discuss.elastic.co/t/time-filter-is-not-applying-in-the-dash-board/336617/5 "2023-06-21T21:51:44Z")

</div>

I am trying to do what you said. But in the edit field.. the Timestamp field is highlighted to get edited. Screen shot attached.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/2/f2068af06839f44f5941a645380a9863a360b1c0.png)

---

<div class="post-metadata">

### Author: ![Nathan\_Reese](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nathan_reese/32/84829_2.png) [@Nathan\_Reese](https://discuss.elastic.co/u/Nathan_Reese)
#### Post date: [June 21, 2023, 10:28pm UTC](https://discuss.elastic.co/t/time-filter-is-not-applying-in-the-dash-board/336617/6 "2023-06-21T22:28:45Z")

</div>

> [@Kumar\_Abhinav](#):
>
> I am trying to do what you said. But in the edit field.. the Timestamp field is highlighted to get edited. Screen shot attached.

This means you do not have any fields mapped as [date type](https://www.elastic.co/guide/en/elasticsearch/reference/current/date.html). You will need to update your ingest to ensure your time field is indexed as a date field.

---

<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: [July 19, 2023, 10:29pm UTC](https://discuss.elastic.co/t/time-filter-is-not-applying-in-the-dash-board/336617/7 "2023-07-19T22:29:00Z")

</div>

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