# Visualization - Date Histogram

**URL:** https://discuss.elastic.co/t/visualization-date-histogram/115594
**Category:** Kibana
**Created:** [January 15, 2018, 7:29pm UTC](https://discuss.elastic.co/t/visualization-date-histogram/115594 "2018-01-15T19:29:03Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![Claudio\_Ract\_Costa](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/claudio_ract_costa/32/26095_2.png) [@Claudio\_Ract\_Costa](https://discuss.elastic.co/u/Claudio_Ract_Costa)
#### Post date: [January 15, 2018, 7:29pm UTC](https://discuss.elastic.co/t/visualization-date-histogram/115594/1 "2018-01-15T19:29:03Z")

</div>

Hi,

Does anyone know how can I create a Visualization witch will sum all value of a field with interval of 1 hour of 7 days ago ?

Example, if now is 2018/01/15 at 17:00, the graphs will show the information about 2018/01/08 at 16:00 to 16:59, 2018/01/08 at 15:00 to 15:59, 2018/01/08 at 14:00 to 14:59, ...

Thanks,

---

<div class="post-metadata">

### Author: ![spalger](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/spalger/32/14092_2.png) [@spalger](https://discuss.elastic.co/u/spalger)
#### Post date: [January 16, 2018, 8:45pm UTC](https://discuss.elastic.co/t/visualization-date-histogram/115594/2 "2018-01-16T20:45:48Z")

</div>

It is _possible_ to make this work in Kibana today, but requires a version of an index pattern that does not define a time field and custom filters applied to the visualization to do the date filtering. It also means that the visualization won't respect the time range selected in the top right of Kibana and will likely create a somewhat awkward user experience.

That said, [https://github.com/elastic/kibana/issues/3578](https://github.com/elastic/kibana/issues/3578) intends to make this possible by supporting multiple time filters on a dashboard so you could override the time range of some visualization to show data from 7 days ago in one or more visualizations and right now in some others. It's not clear how this will work at this time, but subscribe to that issue to get updates.

---

<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: [February 13, 2018, 8:45pm UTC](https://discuss.elastic.co/t/visualization-date-histogram/115594/3 "2018-02-13T20:45:54Z")

</div>

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