Reply
Babycakes
Helper II
Helper II
Partially syndicated - Outbound

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

Syndicated - Outbound

@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

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

2 REPLIES 2
Babycakes
Helper II
Helper II

Syndicated - Outbound

Capture.PNG

Capture 2.PNG

  

Syndicated - Outbound

@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

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
avatar user

Helpful resources

Announcements
March PBI video - carousel

Power BI Monthly Update - March 2025

Check out the March 2025 Power BI update to learn about new features.

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)