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
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])

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])

Anonymous
Not applicable

Thank you @amitchandak ! That's perfect!

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.