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

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes! Register now.

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
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors