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