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
Anonymous
Not applicable

Retrieve a value of a column from another table

I have tables WIR and Inspection Notice. WIR Table is having follwoing data

ReferenceNumberMailNoDate Submitted to SCDisciplineIN Date
AAB-IN-000008ALE-WIRQ-00693412/27/2018 12:40Facade Engineering 
AAB-IN-000008ALE-WIRQ-00668712/23/2018 5:44Facade Engineering 
AAB-IN-000008ALE-WIRQ-00616912/11/2018 13:11Facade Engineering 
AAB-IN-000008ALE-WIRQ-00647612/18/2018 7:56Facade Engineering 

 

And Inspection notice is having

MailNoSentDateReferenceNumber
AAB-IN-000008-312/27/2018 5:41AAB-IN-000008
AAB-IN-000008-112/18/2018 4:35AAB-IN-000008
AAB-IN-000008-212/23/2018 3:37AAB-IN-000008
AAB-IN-00000812/9/2018 10:58AAB-IN-000008

 

Refarnce number is same for different mail number and sent date,

I want to add Sent date from Inspection notice to WIR columan IN date.

Is it possible

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@ayahmed , Try to create a new column in WIR as

maxx(filter(Inspection, Inspection[ReferenceNumber] á WIR[ReferenceNumber] && Inspection[Date Submitted].date >- WIR[SentDate].date), WIR[SentDate]] )

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@ayahmed , Try to create a new column in WIR as

maxx(filter(Inspection, Inspection[ReferenceNumber] á WIR[ReferenceNumber] && Inspection[Date Submitted].date >- WIR[SentDate].date), WIR[SentDate]] )

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.