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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
sgosselin
Frequent Visitor

Slicer to effect dates only after today

Hello, I am currently making a dashboard that includes a Gantt chart for different projects within our department. I want to include a slicer that just has one button that when they press it, filters all the visuals (one table and one Gantt chart) to only include the the data where End Date is after today. I'm not sure how to go about this. I have the start and end date for each project. 

 

Thanks!

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@sgosselin , You can use relative date slicer

 

https://docs.microsoft.com/en-us/power-bi/visuals/desktop-slicer-filter-date-range

 

Or create a new column column like this in you date table and use that

 

if([Date]> Today() , "After Today", [DAte] & "")

 

 

 

Date in slicer should be joined with end date in this case

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@sgosselin , You can use relative date slicer

 

https://docs.microsoft.com/en-us/power-bi/visuals/desktop-slicer-filter-date-range

 

Or create a new column column like this in you date table and use that

 

if([Date]> Today() , "After Today", [DAte] & "")

 

 

 

Date in slicer should be joined with end date in this case

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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