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 04, 2023 11:48 AM
What field type are you using for your durations? Duration? Number? Text?
Dec 04, 2023 05:10 PM
Maybe some filter is enabled?
Scroll down here.
Dec 05, 2023 11:07 PM
Hello, thanks very much for your time and help. It's a lookup field that looks up a number field.
Dec 05, 2023 11:09 PM
Hello !
No its not the case, the result is the same with a formula SUM field. any other idea ?
Dec 06, 2023 08:19 AM
Did you try using a rollup field on your project records to look at the numbers in your rollup field on your tasks records? That should work.
Dec 07, 2023 01:28 AM
Hello, not sure if i understood correctly, see screenshot of the rollup formatting :
- Table projects (Routes) : rollup of the lookup fields of field ''objectifs temps' in table tasks (visits)
- Table tasks (visits) : lookup from a linked field (order_ID) to get the ''objectif temps''
Dec 07, 2023 03:50 AM
"Objectif temps(min)/adresse" is a string, which may be the reason why the total fails.
If it is a number, it will be displayed on the right side of the cell.
How about changing the Lookup field to a rollup field and using the formula Value(values) to convert the values to a number field?
Dec 07, 2023 05:18 AM
Try using a rollup instead of a lookup in your table tasks.
Dec 07, 2023 06:20 AM