Skip to main content
Announcements
Accelerate Your Success: Fuel your data and AI journey with the right services, delivered by our experts. Learn More
cancel
Showing results for 
Search instead for 
Did you mean: 
BonganiButh
Contributor III
Contributor III

Duplicates from linked tables

BonganiButh_0-1611728756485.png

 

Hi Everyone. 

I have joined my two tables as above on (demand_id). However I am getting duplicates as seen below.

 

BonganiButh_1-1611728921708.png

everything seems to be fine except on the 'Labor fields' which are created from two different tables. code is shared below from load script.

demand: Labour Start Datetime

TIMESTAMP(DATE(FLOOR([actual_dt])) + (TIME([actual_tm]) - TIME(FLOOR([actual_tm])))) AS actual_date_time

 

and demand_labor: Labour End DateTime

TimeStamp(Date(Floor([arrive_dt])) + (Time([arrive_tm]) - Time(Floor([arrive_tm])))) AS arrive_date_time

 

Any ideas on how I can approach this differently?

0 Replies