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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.