# Unable to set the date time range properly in Time Series

**URL:** <https://discuss.elastic.co/t/unable-to-set-the-date-time-range-properly-in-time-series/207861>\
**Category:** Kibana\
**Created:** [November 14, 2019, 10:33am UTC](https://discuss.elastic.co/t/unable-to-set-the-date-time-range-properly-in-time-series/207861 "2019-11-14T10:33:01Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![abeltodev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abeltodev/32/40101_2.png) [@abeltodev](https://discuss.elastic.co/u/abeltodev)\
**Post date:** [November 14, 2019, 10:33am UTC](https://discuss.elastic.co/t/unable-to-set-the-date-time-range-properly-in-time-series/207861/1 "2019-11-14T10:33:01Z")

</div>

When I set a date range the TimeSeries is still displaying the graph from 2016 to now.

"Ignore global filter" option is set to "no".

Any idea?

 ![14-11_26_46(2)](https://us1.discourse-cdn.com/elastic/original/3X/c/0/c02f4c855428e3b85562da67de17b7f8d8b638a1.png)

---

<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:** [November 14, 2019, 6:00pm UTC](https://discuss.elastic.co/t/unable-to-set-the-date-time-range-properly-in-time-series/207861/2 "2019-11-14T18:00:38Z")

</div>

Please share a screenshot of the other options you have enabled.

---

<div class="post-metadata">

**Author:** ![abeltodev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abeltodev/32/40101_2.png) [@abeltodev](https://discuss.elastic.co/u/abeltodev)\
**Post date:** [November 15, 2019, 6:30am UTC](https://discuss.elastic.co/t/unable-to-set-the-date-time-range-properly-in-time-series/207861/3 "2019-11-15T06:30:27Z")

</div>

Hi Wylie,

Thank you for your response 🙂

You can see below the options I've selected. All the other options are set by default.

Hope it helps,

 ![15-07_28_19](https://us1.discourse-cdn.com/elastic/original/3X/f/d/fd205db63ae51b8aa3f2d042db931d64a53c1a79.png) ![15-07_27_52](https://us1.discourse-cdn.com/elastic/original/3X/d/f/df2ad0d010929cdc8d147b48d905d849898a526c.png)

---

<div class="post-metadata">

**Author:** ![abeltodev](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/abeltodev/32/40101_2.png) [@abeltodev](https://discuss.elastic.co/u/abeltodev)\
**Post date:** [November 18, 2019, 8:32am UTC](https://discuss.elastic.co/t/unable-to-set-the-date-time-range-properly-in-time-series/207861/4 "2019-11-18T08:32:59Z")

</div>

I think the problem is with the Time field because It works fine if I change categories.created\_at by created\_at. Where created\_at is the main time filed of the document and categories is an array of elements.

So, is there a way to count by date an array of elements inside a document?

Thanks

---

<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:** [December 16, 2019, 8:33am UTC](https://discuss.elastic.co/t/unable-to-set-the-date-time-range-properly-in-time-series/207861/5 "2019-12-16T08:33:03Z")

</div>

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