Forum Discussion
clarkpaul
Helper I
2 years agoJoining 2 tables based on a Date Range
Drivers deliver a machine and then call us to update the status. (Delivery Complete, Incomplete, Damaged, etc.) The delivery date is from one table and the debrief date is from another table. The ...
- 2 years ago
Hi clarkpaul,
One of the options is to create a calculated column like this:
In plain text:
Debrief Date Calculated = VAR currentDate = [Delivery Date] VAR currentSN = [Serial Number] RETURN MINX ( FILTER ( 'Table B', [Serial Number] = currentSN && [Debrief Date] >= currentDate ), [Debrief Date] )Best Regards,
Alexander
barritown
Solution Sage
2 years agoHi clarkpaul,
One of the options is to create a calculated column like this:
In plain text:
Debrief Date Calculated =
VAR currentDate = [Delivery Date]
VAR currentSN = [Serial Number]
RETURN MINX ( FILTER ( 'Table B', [Serial Number] = currentSN && [Debrief Date] >= currentDate ), [Debrief Date] )
Best Regards,
Alexander