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

The ultimate Microsoft Fabric, Power BI, Azure AI & SQL learning event! Join us in Las Vegas from March 26-28, 2024. Use code MSCUST for a $100 discount. 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
v-stephen-msft
Community Support
Community Support

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
v-stephen-msft
Community Support
Community Support

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
Fabric Community Conference

Microsoft Fabric Community Conference

Join us at our first-ever Microsoft Fabric Community Conference, March 26-28, 2024 in Las Vegas with 100+ sessions by community experts and Microsoft engineering.

February 2024 Update Carousel

Power BI Monthly Update - February 2024

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

Fabric Career Hub

Microsoft Fabric Career Hub

Explore career paths and learn resources in Fabric.

Fabric Partner Community

Microsoft Fabric Partner Community

Engage with the Fabric engineering team, hear of product updates, business opportunities, and resources in the Fabric Partner Community.