# Kibana graph with 7d interval grouped by a field shows only previous week data - please help

**URL:** <https://discuss.elastic.co/t/kibana-graph-with-7d-interval-grouped-by-a-field-shows-only-previous-week-data-please-help/229284>\
**Category:** Kibana\
**Created:** [April 22, 2020, 2:44pm UTC](https://discuss.elastic.co/t/kibana-graph-with-7d-interval-grouped-by-a-field-shows-only-previous-week-data-please-help/229284 "2020-04-22T14:44:17Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![Venkatesh\_Murthy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/venkatesh_murthy/32/66160_2.png) [@Venkatesh\_Murthy](https://discuss.elastic.co/u/Venkatesh_Murthy)\
**Post date:** [April 22, 2020, 2:44pm UTC](https://discuss.elastic.co/t/kibana-graph-with-7d-interval-grouped-by-a-field-shows-only-previous-week-data-please-help/229284/1 "2020-04-22T14:44:18Z")

</div>

when i am generating graphs in Kibana for an agregation (sum) of a term for 7 days, why is the graph skipping the current week data, it only shows previous week data. in the discovery i do see records but in the graph it shows current week values as 0, please help

---

<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:** [April 22, 2020, 6:56pm UTC](https://discuss.elastic.co/t/kibana-graph-with-7d-interval-grouped-by-a-field-shows-only-previous-week-data-please-help/229284/2 "2020-04-22T18:56:41Z")

</div>

Can you please be more specific about how you have configured:

- The time range of your visualization
- The aggregations of your visualization

---

<div class="post-metadata">

**Author:** ![Venkatesh\_Murthy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/venkatesh_murthy/32/66160_2.png) [@Venkatesh\_Murthy](https://discuss.elastic.co/u/Venkatesh_Murthy)\
**Post date:** [April 22, 2020, 7:09pm UTC](https://discuss.elastic.co/t/kibana-graph-with-7d-interval-grouped-by-a-field-shows-only-previous-week-data-please-help/229284/3 "2020-04-22T19:09:56Z")

</div>

Sorry, yes..  
i am using TSVB to create a visualisation.  
In the data tab, metrics.. i am using sum agregration on a numeric field  
group by terms for a keyword  
order by the sum of the above field (same as agregration)  
in the panel options i am using interval as 1w

the graphs stops on 13th (last week) and not even showing 13th to 19th strangely despite having the records

---

<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:** [April 22, 2020, 7:14pm UTC](https://discuss.elastic.co/t/kibana-graph-with-7d-interval-grouped-by-a-field-shows-only-previous-week-data-please-help/229284/4 "2020-04-22T19:14:08Z")

</div>

Do you have the TSVB setting to drop the last bucket? It sounds like you want to show the last bucket

---

<div class="post-metadata">

**Author:** ![Venkatesh\_Murthy](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/venkatesh_murthy/32/66160_2.png) [@Venkatesh\_Murthy](https://discuss.elastic.co/u/Venkatesh_Murthy)\
**Post date:** [April 22, 2020, 7:20pm UTC](https://discuss.elastic.co/t/kibana-graph-with-7d-interval-grouped-by-a-field-shows-only-previous-week-data-please-help/229284/5 "2020-04-22T19:20:11Z")

</div>

i have the setting and i have set it to no.. its very strange because in the data explorer i can clearly see documents on 16th,, 17th, 18th and 19th but these documents are not being fetched to sum and show me for the agregation. If i am generating the same graph with interval of 1d it shows the documents from 13th to 19th. only the 1w intervals wont show

---

<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:** [April 22, 2020, 8:01pm UTC](https://discuss.elastic.co/t/kibana-graph-with-7d-interval-grouped-by-a-field-shows-only-previous-week-data-please-help/229284/6 "2020-04-22T20:01:32Z")

</div>

Based on your description I don't know what the issue is. It sounds like something is not configured right with your time ranges.

---

<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:** [May 20, 2020, 8:01pm UTC](https://discuss.elastic.co/t/kibana-graph-with-7d-interval-grouped-by-a-field-shows-only-previous-week-data-please-help/229284/7 "2020-05-20T20:01:43Z")

</div>

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