# Creating day of week filter on my dashboard

**URL:** <https://discuss.elastic.co/t/creating-day-of-week-filter-on-my-dashboard/338391>\
**Category:** Kibana\
**Created:** [July 14, 2023, 8:51am UTC](https://discuss.elastic.co/t/creating-day-of-week-filter-on-my-dashboard/338391 "2023-07-14T08:51:49Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![Valerija](https://avatars.discourse-cdn.com/v4/letter/v/e9bcb4/32.png) [@Valerija](https://discuss.elastic.co/u/Valerija)\
**Post date:** [July 19, 2023, 8:02am UTC](https://discuss.elastic.co/t/creating-day-of-week-filter-on-my-dashboard/338391/7 "2023-07-19T08:02:40Z")

</div>

Hello @stephenb ,

I am not sure what is wrong.

I was googling some solutions and run into discussion from 2021 - [Exclude weekends(Saturdays and Sundays) from my dashboard view](https://discuss.elastic.co/t/exclude-weekends-saturdays-and-sundays-from-my-dashboard-view/272757).

This filter would solve all of my problems. I did read through the discussion but am not sure how to write the scrip in the end.

I tried like this but no success...

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

---

_[View the full topic](https://discuss.elastic.co/t/creating-day-of-week-filter-on-my-dashboard/338391)._
