# Kibana Visualization date\_histogram weekly start day: Sunday (Start of Week) in Dashboard

**URL:** <https://discuss.elastic.co/t/kibana-visualization-date-histogram-weekly-start-day-sunday-start-of-week-in-dashboard/382877>\
**Category:** Kibana\
**Tags:** lens, visualisation\
**Created:** [October 22, 2025, 9:31am UTC](https://discuss.elastic.co/t/kibana-visualization-date-histogram-weekly-start-day-sunday-start-of-week-in-dashboard/382877 "2025-10-22T09:31:50Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![josh\_tran](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/josh_tran/32/145034_2.png) [@josh\_tran](https://discuss.elastic.co/u/josh_tran)\
**Post date:** [October 22, 2025, 9:31am UTC](https://discuss.elastic.co/t/kibana-visualization-date-histogram-weekly-start-day-sunday-start-of-week-in-dashboard/382877/1 "2025-10-22T09:31:50Z")

</div>

I want weekly `date_histogram` function to start on Sunday in Kibana dashboards, but they currently start on Monday (ISO week). I’m using Kibana Lens with Elasticsearch 9.0.4. I’ve tried adjusting **dateFormat:dow** settings to Sunday and **dateFormat:tz** to Zulu (because my raw data value was 2025-10-05T14:14:54Z), but it still aggregates from Mon to Sun instead of Sun to Sat.

I did read some similar topics, but they did not talk about the visualization/lens charts, just the API approach. ☹

---

<div class="post-metadata">

**Author:** ![jsanz](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jsanz/32/53734_2.png) [@jsanz](https://discuss.elastic.co/u/jsanz)\
**Post date:** [October 22, 2025, 9:53am UTC](https://discuss.elastic.co/t/kibana-visualization-date-histogram-weekly-start-day-sunday-start-of-week-in-dashboard/382877/2 "2025-10-22T09:53:27Z")

</div>

Indeed, there is already a report for this issue

> <https://github.com/elastic/kibana/issues/178115>
>
> \*\*Describe the feature:\*\*
> 
> In Kibana there's the \`dateFormat:dow\` setting who …defines the default day for the beginning of a week.
> 
> \<img width="880" alt="Screenshot 2024-03-06 at 14 39 21" src="https://github.com/elastic/kibana/assets/924948/23126c06-5876-46c6-b3ba-2877fbfc0f45"\>
> 
> Passed to moment \`week\` option here...
> 
> https://github.com/elastic/kibana/blob/1b646bb565c8d69a33ab4a15f7f9a9975617db30/packages/core/integrations/core-integrations-browser-internal/src/moment/moment\_service.ts#L31-L39
> 
> Moment defines this option in their docs \[here\](https://momentjs.com/docs/#/customization/dow-doy/), but affect \`startOf\` and \`endOf\` logic.
> 
> Chart bins are determined based on the data passed to charts, this would require using the \[\`offset\`\](https://www.elastic.co/guide/en/elasticsearch/reference/5.3/search-aggregations-bucket-datehistogram-aggregation.html#\_offset) option of the \`date\_histogram\` aggregation.
> 
> This information is not picked up correctly by Lens when displaying on a weekly bucket.
> In this example I'm using the ecommerce sample dataset and setting a \`minimum interval\` of \`week\` for the date histogram (on a 3 months timespan):
> \<img width="904" alt="Screenshot 2024-03-06 at 14 39 58" src="https://github.com/elastic/kibana/assets/924948/2dc9ab33-c963-415a-9749-4e0b6b592a7c"\>
> 
> Note how both the axis and tooltip pick ups the Monday dates for each week bucket.

The [last comment](https://github.com/elastic/kibana/issues/178115#issuecomment-3376948681) suggests a workaround to have an `offest` applied

> the only way to achieve what we need using `{"offset": "-1d"}` in the Advanced → JSON input)

---

<div class="post-metadata">

**Author:** ![josh\_tran](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/josh_tran/32/145034_2.png) [@josh\_tran](https://discuss.elastic.co/u/josh_tran)\
**Post date:** [October 24, 2025, 10:15am UTC](https://discuss.elastic.co/t/kibana-visualization-date-histogram-weekly-start-day-sunday-start-of-week-in-dashboard/382877/3 "2025-10-24T10:15:01Z")

</div>

Thanks a lot.

I’ve attempted to choose the legacy option referenced in the issue. It works... but only **partially**.

It can only fix the calculation result, and does not update the axis accordingly (the axis still shows Monday).

Waiting for the official feature.
