# Unable to get Date Range Control to filter dates in Kibana Dashboard

**URL:** <https://discuss.elastic.co/t/unable-to-get-date-range-control-to-filter-dates-in-kibana-dashboard/228791>\
**Category:** Kibana\
**Created:** [April 20, 2020, 5:45am UTC](https://discuss.elastic.co/t/unable-to-get-date-range-control-to-filter-dates-in-kibana-dashboard/228791 "2020-04-20T05:45:38Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChintanCParekh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chintancparekh/32/66648_2.png) [@ChintanCParekh](https://discuss.elastic.co/u/ChintanCParekh)\
**Post date:** [April 20, 2020, 5:45am UTC](https://discuss.elastic.co/t/unable-to-get-date-range-control-to-filter-dates-in-kibana-dashboard/228791/1 "2020-04-20T05:45:38Z")

</div>

Hi Team,

I am working on visualization and dashboard in kibana. We have field called created\_date with format datetime in an index pattern and so as in document. Hence we are trying to filter in visualization and dashboard using date range when it is embedded in application.

We are unable to find any ready to use date range control filter in kibana. We need a 'datetime picker control' for kibana dashboard or any other alternative which can be used to filter all the data in dashboard using date range.

Note :\*\*\* While designing date range filter option is available but while embedding control is required so that end user can work through date range and filter data accordingly.

Any help would be much appreciated.

---

<div class="post-metadata">

**Author:** ![dosant](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dosant/32/64489_2.png) [@dosant](https://discuss.elastic.co/u/dosant)\
**Post date:** [April 20, 2020, 3:09pm UTC](https://discuss.elastic.co/t/unable-to-get-date-range-control-to-filter-dates-in-kibana-dashboard/228791/2 "2020-04-20T15:09:13Z")

</div>

Hi @ChintanCParekh,

Does your index pattern has `created_date` as a time filter? If yes, then Kibana's date picker should use `created_date` for filtering.

Unfortunately, right now this date picker won't be visible in embedded mode. There is an issue to improve that: [https://github.com/elastic/kibana/issues/9575](https://github.com/elastic/kibana/issues/9575) with significant progress.

As a temporary workaround, if you are embedding kibana in iframe, you could build you own date picker outside of kibana and control Kibana's time filter using URL. See example: [https://github.com/elastic/kibana/issues/2739#issuecomment-97211862](https://github.com/elastic/kibana/issues/2739#issuecomment-97211862)

Hope this is helpful!

---

<div class="post-metadata">

**Author:** ![ChintanCParekh](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/chintancparekh/32/66648_2.png) [@ChintanCParekh](https://discuss.elastic.co/u/ChintanCParekh)\
**Post date:** [May 12, 2020, 3:25pm UTC](https://discuss.elastic.co/t/unable-to-get-date-range-control-to-filter-dates-in-kibana-dashboard/228791/3 "2020-05-12T15:25:10Z")

</div>

Hi dosant Anton Dosov,

Thank you for your kind help on the same.

We had already developed and tested the same where we have used visualization type : **controls** and place on dashboard using which we are able to filter all text or numeric data, but we have to show trend of data over period of say 3month, 6 months and 12 months for which we had given manual date control as you can see below.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/9/b/9b1bff3472c6d6f902d5efbee8ad8faffdd963ec.png)

Most important is end users need to slice and dice data w.r.t to date as well, which is not present as default control at least in kibana. Implementing it manually makes interfacce ugly to look and it is not that user friendly as well.

Eager to see these date filter visualization control as a fix in current version or in new version of kibana.

---

<div class="post-metadata">

**Author:** ![dosant](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/dosant/32/64489_2.png) [@dosant](https://discuss.elastic.co/u/dosant)\
**Post date:** [May 15, 2020, 12:32pm UTC](https://discuss.elastic.co/t/unable-to-get-date-range-control-to-filter-dates-in-kibana-dashboard/228791/4 "2020-05-15T12:32:53Z")

</div>

@ChintanCParekh

> Eager to see these date filter visualization control as a fix in current version or in new version of kibana.

FYI: [https://github.com/elastic/kibana/pull/58435](https://github.com/elastic/kibana/pull/58435) - looks like this will allow to display Kibana's time filter in embed mode

Also not sure if you've tried Canvas as it has timefilter support inside the workpad.  
It actually showcased in this tutorial: [Canvas tutorial | Kibana Guide [7.7] | Elastic](https://www.elastic.co/guide/en/kibana/7.7/canvas-tutorial.html). (not suggesting to remake the dashboard using canvas, just sharing for future 😃 )

---

<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 12, 2020, 12:32pm UTC](https://discuss.elastic.co/t/unable-to-get-date-range-control-to-filter-dates-in-kibana-dashboard/228791/5 "2020-06-12T12:32:55Z")

</div>

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