# Widen date filter on embedded dashboard

**URL:** <https://discuss.elastic.co/t/widen-date-filter-on-embedded-dashboard/245390>\
**Category:** Kibana\
**Created:** [August 18, 2020, 10:19am UTC](https://discuss.elastic.co/t/widen-date-filter-on-embedded-dashboard/245390 "2020-08-18T10:19:29Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![buncieboy](https://avatars.discourse-cdn.com/v4/letter/b/dec6dc/32.png) [@buncieboy](https://discuss.elastic.co/u/buncieboy)\
**Post date:** [August 18, 2020, 10:19am UTC](https://discuss.elastic.co/t/widen-date-filter-on-embedded-dashboard/245390/1 "2020-08-18T10:19:29Z")

</div>

I have several visualizations as an embedded dashboard. When a user clicks on part of the dashboard it adds a filter to the bar at the top and they can remove it. However if they select a date range on the record frequency graph they are unable to undo it. Only way I have found of solving the problem is to refresh the page, which isn't ideal. Is there a way to widen this date selection?

---

<div class="post-metadata">

**Author:** ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)\
**Post date:** [August 24, 2020, 4:44pm UTC](https://discuss.elastic.co/t/widen-date-filter-on-embedded-dashboard/245390/2 "2020-08-24T16:44:12Z")

</div>

The date filter is editable, so you can always choose a new date range. Alternatively you might be able to use the Back button in the browser.

---

<div class="post-metadata">

**Author:** ![buncieboy](https://avatars.discourse-cdn.com/v4/letter/b/dec6dc/32.png) [@buncieboy](https://discuss.elastic.co/u/buncieboy)\
**Post date:** [August 26, 2020, 9:18am UTC](https://discuss.elastic.co/t/widen-date-filter-on-embedded-dashboard/245390/3 "2020-08-26T09:18:28Z")

</div>

They can edit it by making it narrower (by clicking on the graph) but it doesn't show on the bar at the top of the embedded page like other filters. Unfortunately back button won't work as the page is embedded ☹

---

<div class="post-metadata">

**Author:** ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)\
**Post date:** [August 26, 2020, 3:11pm UTC](https://discuss.elastic.co/t/widen-date-filter-on-embedded-dashboard/245390/4 "2020-08-26T15:11:44Z")

</div>

Did you change the configuration of the embeddable to remove the time filter?

---

<div class="post-metadata">

**Author:** ![buncieboy](https://avatars.discourse-cdn.com/v4/letter/b/dec6dc/32.png) [@buncieboy](https://discuss.elastic.co/u/buncieboy)\
**Post date:** [August 26, 2020, 3:59pm UTC](https://discuss.elastic.co/t/widen-date-filter-on-embedded-dashboard/245390/5 "2020-08-26T15:59:40Z")

</div>

We specify an initial time range in the embeddable URL `g=(filters:!(),refreshInterval:(pause:!t,value:0),time:(from:'2020-05-01T00:00:00',mode:absolute,to:'now'))`. Seems like when the click on the graph to narrow it changes the URL, leaving them now way of going back (at least when its embedded).

---

<div class="post-metadata">

**Author:** ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)\
**Post date:** [August 26, 2020, 4:19pm UTC](https://discuss.elastic.co/t/widen-date-filter-on-embedded-dashboard/245390/6 "2020-08-26T16:19:49Z")

</div>

Maybe I wasn't clear: you can change the configuration of the dashboard to include the time filter. Have you tried that?

 ![Screen Shot 2020-08-26 at 12.17.55 PM](https://us1.discourse-cdn.com/elastic/original/3X/6/9/69f489d3b1ca16157fd02f2bff5781e2470b4c17.png)

---

<div class="post-metadata">

**Author:** ![buncieboy](https://avatars.discourse-cdn.com/v4/letter/b/dec6dc/32.png) [@buncieboy](https://discuss.elastic.co/u/buncieboy)\
**Post date:** [August 27, 2020, 10:58am UTC](https://discuss.elastic.co/t/widen-date-filter-on-embedded-dashboard/245390/7 "2020-08-27T10:58:09Z")

</div>

Running 6.8.4 and don't have the options, just snapshot vs saved object and short url.

---

<div class="post-metadata">

**Author:** ![wylie](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/wylie/32/81794_2.png) [@wylie](https://discuss.elastic.co/u/wylie)\
**Post date:** [August 27, 2020, 4:17pm UTC](https://discuss.elastic.co/t/widen-date-filter-on-embedded-dashboard/245390/8 "2020-08-27T16:17:32Z")

</div>

Okay, then I think your only options are to upgrade or to provide external controls that will change the URL on behalf of users.

---

<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:** [September 24, 2020, 4:17pm UTC](https://discuss.elastic.co/t/widen-date-filter-on-embedded-dashboard/245390/9 "2020-09-24T16:17:37Z")

</div>

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