# Time builder help

**URL:** https://discuss.elastic.co/t/time-builder-help/193509
**Category:** Kibana
**Created:** [August 2, 2019, 10:53am UTC](https://discuss.elastic.co/t/time-builder-help/193509 "2019-08-02T10:53:16Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Ayden](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ayden/32/51432_2.png) [@Ayden](https://discuss.elastic.co/u/Ayden)
#### Post date: [August 2, 2019, 10:53am UTC](https://discuss.elastic.co/t/time-builder-help/193509/1 "2019-08-02T10:53:16Z")

</div>

Hello

I have a doubt about time builder.

The data in my index has 1 month and I used 2 intervals 31day and 365day. My question is why the 365day shows me 0% while the 31day shows me correct values.  
Shouldn't the 365day show me the same than 31day, since it is the same data and this data only has 1 month? Why is it showing me 0?

See the prints belows for the example.

365d:

 ![timebuilder](https://us1.discourse-cdn.com/elastic/original/3X/3/9/3942068c81e1f9938907699c1d5afc58f3c35193.png)

31d:

 ![timebuilder2](https://us1.discourse-cdn.com/elastic/original/3X/f/1/f1270555124cb7061fa201067db3320b62b14a4e.png)

Thanks in advance

---

<div class="post-metadata">

### Author: ![lukeelmers](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/lukeelmers/32/35230_2.png) [@lukeelmers](https://discuss.elastic.co/u/lukeelmers)
#### Post date: [August 2, 2019, 9:16pm UTC](https://discuss.elastic.co/t/time-builder-help/193509/2 "2019-08-02T21:16:05Z")

</div>

@Ayden Do you have `Drop last bucket` set to `No`?

If you are using large intervals that exceed the time span of your data, the last bucket will be dropped if it doesn't fill the whole interval. If the option is set to `Yes`, try switching to `No` and see if you get results for the `365d` interval.

You can find more info on this option in [the PR where it was originally introduced](https://github.com/elastic/kibana/pull/12379), or the [corresponding issue](https://github.com/elastic/kibana/issues/10698)

---

<div class="post-metadata">

### Author: ![Ayden](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ayden/32/51432_2.png) [@Ayden](https://discuss.elastic.co/u/Ayden)
#### Post date: [August 5, 2019, 8:52am UTC](https://discuss.elastic.co/t/time-builder-help/193509/3 "2019-08-05T08:52:58Z")

</div>

I had `Drop last bucket` set to `Yes`. Changing to `No` fixed the problem.

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: [September 2, 2019, 8:52am UTC](https://discuss.elastic.co/t/time-builder-help/193509/4 "2019-09-02T08:52:59Z")

</div>

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