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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
Hinnaxsen
Frequent Visitor

Automatic date slicer with conditions

Hello everybody,

I'm trying to figure out if it's possible to create an automatic date slicer that follows certain conditions.

Example:

If a new month begins and we have not yet reached 5 working days, the last day of the month before last should be selcted, beginning at the start of the year.  As soon as the 5 working days are reached in this month, the last day of the last month should be selected (and the past rest of the current year).

I thought about a relative date slicer, starting at the 1.1 of this year. But I'm not quite sure how I could filter the right end date.

 

greetings

 

 

Edit: Calculating working days etc. is no problem. 

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Hinnaxsen ,

 

Automatic slicer seems impossible currently.

While the automatic date filter could achieve,

please kindly refer to

Set Up Default Filters in Power BI - Microsoft Power BI Community

Default Dynamic Date Filters In Power BI - Microsoft Power BI Community

 

Best Regards,

Stephen Tao

 

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

1 REPLY 1
Anonymous
Not applicable

Hi @Hinnaxsen ,

 

Automatic slicer seems impossible currently.

While the automatic date filter could achieve,

please kindly refer to

Set Up Default Filters in Power BI - Microsoft Power BI Community

Default Dynamic Date Filters In Power BI - Microsoft Power BI Community

 

Best Regards,

Stephen Tao

 

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

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors