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
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
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.