Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

The Power BI DataViz World Championships are on! With four chances to enter, you could win a spot in the LIVE Grand Finale in Las Vegas. Show off your skills.

Reply
NMDGA
Frequent Visitor

Reset Day slicer to first of every month

Hi Community ,

 

I have two slicer , month yr and day . both these are derived from calender table . month yr slicer will have values from jan-2024, feb-2024.... dec-2024. day slicer will have values for each day of the month. eg: if i select jan-2024, day slcier shows 1 to 31. if i select feb 2024, it shows 1 to 29. both month yr and day slicers are "single selection" ( i have to use single selection only). However if i select jan -2024 in month yr and 30 in day slicer but then go back to change the month yr slicer to feb 2024, the 30 in day slicer remains as it is. is there way to do a reset so that everytime i chnage the month , the day in day slicer is automatically selected to 1 ( menaing 1st of every month) . also note i have to use top down approach for date selection so i have disabled the interaction in "edit intercation" for day and month yr slicers. my filter works from month yr to day slicers. 

 

Thank you for the ideas.

 

steps done:

1. selected jan 2024 in month yr and day 31 in day slicer , went back to change the month yr slicer to feb . it shows 31 in day slicer.

 

NMDGA_0-1725628546718.png

looking for a way to reset the day slicer ( 1 should be selected in day slicer )to first of every month when month selection changes. 

 

1 ACCEPTED SOLUTION
v-jialongy-msft
Community Support
Community Support

Hi @NMDGA 

You can use bookmarks as a workaround, you can use the bookmark to record the slicer option for the first day of each month, and then when you need to select the month, you just need to hold down "Ctrl" and click on the corresponding bookmark to select the first day of the corresponding month.

vjialongymsft_0-1725872084669.png

vjialongymsft_2-1725872118254.pngvjialongymsft_3-1725872127258.png

 

 

 

 

 

 

 

Best Regards,

Jayleny

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

3 REPLIES 3
v-jialongy-msft
Community Support
Community Support

Hi @NMDGA 

You can use bookmarks as a workaround, you can use the bookmark to record the slicer option for the first day of each month, and then when you need to select the month, you just need to hold down "Ctrl" and click on the corresponding bookmark to select the first day of the corresponding month.

vjialongymsft_0-1725872084669.png

vjialongymsft_2-1725872118254.pngvjialongymsft_3-1725872127258.png

 

 

 

 

 

 

 

Best Regards,

Jayleny

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

NMDGA
Frequent Visitor

Is there any other workaround to dispaly a message or provide a button to get the results when we select the wrong combination of date and month yr . Like 30 feb and 31 feb . Or 31 march etc

amitchandak
Super User
Super User

@NMDGA , I doubt that is possible now. The selected value remains and we can not move it another value using some measure.

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

Check out the February 2025 Power BI update to learn about new features.

Feb2025 NL Carousel

Fabric Community Update - February 2025

Find out what's new and trending in the Fabric community.