I'm not sure how can I add specific value to vlalue existing in table without ending up with "~circular~ref~".
I have two tables:
and kpi_car_load (Initially empty)
what I need to do is: each time new row is added to f_collection_activity i need to perform:
using value calculated as: f_collection_activity[bags_number] + kpi_car_load[bags_number]
where: driver_code equals for both tables.
I'm trying to do as below:
But I'm receiving circular reference in kpi_car_load table:
I understand that reason for receiving circular reference is because I'm trying to take existing value, use it in calculation and save in same place. How can I do this differently?