cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
gwrjones
New Member

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

@gwrjones , Try a new column in table 1

 

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

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin
Want To Learn Power BI
Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!
!! Subscribe to my youtube Channel !!

View solution in original post

2 REPLIES 2
amitchandak
Super User
Super User

@gwrjones , Try a new column in table 1

 

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

Did I answer your question? Mark my post as a solution! Appreciate your Kudos!! !!
Dashboard of My Blogs !! Connect on Linkedin
Want To Learn Power BI
Learn Power BI Beginners !! Advance Power BI Concepts !! Power BI For Tableau User !! Learn Power BI in Hindi !!
Proud to be a Super User!
!! Subscribe to my youtube Channel !!

Thank you @amitchandak ! That's perfect!

Helpful resources

Announcements
Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

charticulator_carousel_with_text (1).png

Charticulator Design Challenge

Put your data visualization and design skills to the test! This exciting challenge is happening now through May 31st!

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Power BI Dev Camp Session 22 768x460.jpg

Check it out!

Mark your calendars and join us on Thursday, May 26 at 11a PDT for a great session with Ted Pattison!