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
Babycakes
Helper II
Helper II

Dates and Fortnights

Good afternoon

 

I have a date table set out in File : capture  where I have the start date and end date.  Then end date to match periods."FNE"

 

This is on one table 1

 

On table 2 I have a "shift start date".  

 

I need to have a colum on Table 2 that returns;

 

if Shift start date is between start date and End date , return FNE date.

 

Can you assist please?

1 ACCEPTED SOLUTION

@Babycakes , Assume you have table 1 and table 2

 

a new column in table 2

 

Maxx(filter(Table1, Table2[Shift start Date] >= Table1[Start Date] && Table2[Shift start Date] >= Table1[end  Date] ), Table1 [FNE])

 

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

View solution in original post

2 REPLIES 2
Babycakes
Helper II
Helper II

Capture.PNG

Capture 2.PNG

  

@Babycakes , Assume you have table 1 and table 2

 

a new column in table 2

 

Maxx(filter(Table1, Table2[Shift start Date] >= Table1[Start Date] && Table2[Shift start Date] >= Table1[end  Date] ), Table1 [FNE])

 

refer 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.