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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Anonymous
Not applicable

How to find 2 max equals dates between 2 tables?

Hi everyone! I have to do this exercise: 
Determine how "DTX is sent" have been made before and after the ship's departure.

//EVENT table contains EVENT_ID and time when its happened (EVENT_DATE).
EVENT_ID = 10001 and 10004 are when DTX is sent.
You need to find MAX value (last date when it happened) per BOOK_NR (BOOK_NR is in BOOK table and EVENT table) and compare such date with Sailing Date (AFG_DATO) – and define how much is sent before sailing date and after with split per Trade and Agency.//
I hope that someone can helps me 

1 REPLY 1
daxer-almighty
Solution Sage
Solution Sage

@Anonymous 

 

You have not got any answer for about 7 hours... It means your description is not easily understandable to others. Please refer to this post to improve the clarity of the description.

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.