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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Learn more

Reply
Anonymous
Not applicable

Choosing Dates Across Tables with no Relationship

Hello All,

 

I have two tables. the first table contains a lost of projects with specific milestones and their associated dates.

 

Ex:

ProjectMilestoneDate
ABCX01/1/2021

ABC

X13/1/2021
ABCX25/1/2021
ABCX37/1/2021
DEFX02/1/2021
DEFX12/15/2021

 

The second table consists of meeting dates.

 

Meeting Date

12/1/2020

1/15/2021
2/15/2021
3/1/2021
4/15/2020

 

The problem I have to solve is to show, for each milestone, the meeting date that takes place at least 2 weeks prior to that milestone date. Thanks in advance for anyone who can help!

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Try a new column in table 1

 

maxx(filter(table2, Table2[Date] <Table1[Date] -14 ), Table2[Date])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@Anonymous , Try a new column in table 1

 

maxx(filter(table2, Table2[Date] <Table1[Date] -14 ), Table2[Date])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

Thank you @amitchandak ! That's perfect!

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 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.

Top Solution Authors