# Incorrect relative end date filter interpretation

**URL:** <https://discuss.elastic.co/t/incorrect-relative-end-date-filter-interpretation/379991>\
**Category:** Kibana\
**Created:** [July 10, 2025, 8:47am UTC](https://discuss.elastic.co/t/incorrect-relative-end-date-filter-interpretation/379991 "2025-07-10T08:47:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![allatrue](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/allatrue/32/130067_2.png) [@allatrue](https://discuss.elastic.co/u/allatrue)\
**Post date:** [July 10, 2025, 8:47am UTC](https://discuss.elastic.co/t/incorrect-relative-end-date-filter-interpretation/379991/1 "2025-07-10T08:47:17Z")

</div>

Hi everyone,

I use Kibana 9.0.1 and having trouble when storing rounded end time with dashboard.  
For example I want my dashboard to filter the last X full weeks, when I open the dashboard.  
If I select 2 "Weeks ago" and "Round to the week" as end date, everything looks good.

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/f/a/fa189cc67055362d652da743b82685804a69be9e.png)

It still displays the week based relation after reopening the date picker, although "Round to the week" is off:

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/c/8/c8735b6a18fdd5321f817cc695ab49f1de95699f.png)

But if I select 1 "Weeks ago" and "Round to the week", then Kibana convert it to days!

 ![image](https://us1.discourse-cdn.com/elastic/original/3X/8/a/8aff5956717aa72456eb5540c45fe4f932008b57.png)  
 ![image](https://us1.discourse-cdn.com/elastic/original/3X/a/b/ab7750c26e958d1518e0350b68ff3919278a434e.png)

After saving the dashboard Kibana stores day based end time instead of week based.

It's also confusing, that Kibana uses the correct date math in the URL _time:(from:now-2w/w,to:now-1w/w))_ but stores the different one with dashboard.

It's also confusing, when "Round to..." switch always reset after closing the date picker and opening it again.

Is this a bug?  
Is there any way to store the date range with dashboard as described above?

Thanks in advance!

Regards,  
Alexander
