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

Earn the coveted Fabric Analytics Engineer certification. 100% off your exam for a limited time only!

Reply
G0ggs
Helper I
Helper I

Pulling data from 2 tables into one based on earliest date

Hello

 

I have 2 tables and I would like to pull the electrical safety check date from one table into the other based on the date of completed job. So the electrical safetfy check date would be the ealiest one after the date of completed job. 

 

Can any one please help?

 

JobDate of completed jobElectrical safety check date   Electical safety check dates
11/4/20121/5/2012   a1/1/2012 
21/1/2012
 

 

1/2/2012
   b1/2/2012 
3     c1/3/2012 
4     d1/4/2012 
5     e1/5/2012 
      f1/6/2012 
1 ACCEPTED SOLUTION
v-lionel-msft
Community Support
Community Support

hI @G0ggs ,

 

Please refer to my .pbix file.

v-lionel-msft_0-1620711876803.png

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

4 REPLIES 4
G0ggs
Helper I
Helper I

Hello

 

I am trying to pull the earliest electrical safety check date in one table after the date of completed jobs into the date of completed jobs table can anyone please help?

 

 

JobDate of completed jobElectrical safety check date   Electical safety check dates
11/4/20121/5/2012   a1/1/2012 
21/1/2012
 

 

1/2/2012
   b1/2/2012 
3     c1/3/2012 
4     d1/4/2012 
5     e1/5/2012 
      f1/6/2012 

@G0ggs , what is relation between to table .

 

simple min

min(Table[Electrical safety check date])

 

or check 4 ways to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8

 

v-lionel-msft
Community Support
Community Support

hI @G0ggs ,

 

Please refer to my .pbix file.

v-lionel-msft_0-1620711876803.png

 

Best regards,
Lionel Chen

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

amitchandak
Super User
Super User

@G0ggs ,what is relation between to table .

 

simple min

min(Table[Electrical safety check date])

 

or check 4 ways to copy data from one table to another
https://www.youtube.com/watch?v=Wu1mWxR23jU
https://www.youtube.com/watch?v=czNHt7UXIe8

Helpful resources

Announcements
April AMA free

Microsoft Fabric AMA Livestream

Join us Tuesday, April 09, 9:00 – 10:00 AM PST for a live, expert-led Q&A session on all things Microsoft Fabric!

March Fabric Community Update

Fabric Community Update - March 2024

Find out what's new and trending in the Fabric Community.