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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
andrewtegala
Advocate I
Advocate I

Filter Activity table (for future) based on date in Event Table (from the past)

I need to filter the activity table but to show activity data after an event. So for example event date+1 I will then want to see the activity for the next 3 months from that date. The activity data covers a 3 year period but the events will be from this calendar year only.

2 REPLIES 2
v-eachen-msft
Community Support
Community Support

Hi @andrewtegala ,

 

You could create a calendar table which contains dates you need. Then edit relationships between these table. Use DATEADD() function to get the date after 3 months(suppose the date is A). Now you could add a condition to show date <=A and date >= the date you selected.

 

Community Support Team _ Eads
If this post helps, then please consider Accept it as the solution to help the other members find it.

I have a Date table defined which I am using to control time period across the whole report. I have now created a seperate date table for the activities only but seem unable to use the DATEADD function. Will that only work on a date table with continuous dates? On which table would I add the condition as mentioned in your solution - show date <=A and date >= the date you selected

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.