Dec 04, 2023 06:34 AM
Hello, i'my trying to compare efficiency of real-time project durations to theoric template durations.
Projects are linked to tasks and tasks templates ;
-> total duration of a project = sum of the duration of each task
-> duration objective (efficiency) of a project = sum of the task duration objectives
In each project, Im trying to lookup the tasks theoric duration and sum it up to compare it to the actual project duration.
I'm doing this this way :
- I link projects to tasks
- Each task is linked to a ''task template''
- I look up the ''theoric duration'' of each task and Sum it up in rollup
The problem is that the sumup calculation is incorrect : see screenshot ->
- the first row, lookup values for theoric durations per project are as follow : 10, 10, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8
=> And the calculated Sum is 20...
Does anyone encounters problem with this kind of sumup ?
Thanks for your help
Dec 07, 2023 06:30 AM
Dec 07, 2023 06:42 AM
Oops, value(values) is an error.
Try sum(values)
Dec 07, 2023 07:12 AM
By using a rollup field instead of a lookup field for that original field.
Dec 07, 2023 07:21 AM
Oh OK guys i think i almost got it ! it seems airtable rollup field switched to 0 the data when the lookup field has multiple values, see screenshot attached
Dec 07, 2023 07:31 AM
@Databaser is right, the original Lookup field also needs to be a Rollup field.