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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.