Forum Discussion

Mous007's avatar
Mous007
Helper IV
6 years ago
Solved

Time between two dates and average time to complete a task

Hello everyone, 

 

I hope you are all safe an sound/

I need some assistance with a time calculation.

So i have three columns: a tracking number for each task and a start and last update dates columns as you can see on my extract.

I hace tried a couple measure using dateiff but i always end up either with the wrong time or an error on my calculated columns and measures.

tracking #date of creationdate of update
100019/16/2019 00:009/26/2019 00:00
100029/16/2019 00:009/20/2019 00:00
100039/16/2019 00:0011/1/2019 00:00
100049/16/2019 00:009/30/2019 00:00
100059/16/2019 00:0010/7/2019 00:00
100069/16/2019 00:0010/10/2019 00:00
100079/18/2019 00:0011/1/2019 00:00
100089/18/2019 00:0010/10/2019 00:00
100099/19/2019 00:0011/11/2019 00:00
100109/19/2019 00:009/27/2019 00:00
100119/19/2019 00:009/27/2019 00:00
100129/19/2019 00:0010/7/2019 00:00
100139/19/2019 00:009/19/2019 00:00
100149/20/2019 00:009/23/2019 00:00
100159/20/2019 00:009/20/2019 00:00
100169/20/2019 00:0011/22/2019 00:00
100179/20/2019 00:0011/1/2019 00:00
100189/23/2019 00:0011/6/2019 00:00
100199/23/2019 00:0010/7/2019 00:00
100209/23/2019 00:009/23/2019 00:00
100219/23/2019 00:0010/10/2019 00:00
100229/24/2019 00:0010/23/2019 00:00
100239/24/2019 00:0012/9/2019 00:00
100249/24/2019 00:0010/17/2019 00:00
100259/24/2019 00:009/24/2019 00:00
100269/25/2019 00:009/25/2019 00:00
100279/26/2019 00:0010/22/2019 00:00
100299/26/2019 00:009/26/2019 00:00
100309/26/2019 00:0011/19/2019 00:00
100319/26/2019 00:009/26/2019 00:00
100349/26/2019 00:0010/11/2019 00:00
100359/26/2019 00:009/30/2019 00:00
100379/27/2019 00:0010/15/2019 00:00
100389/27/2019 00:0010/11/2019 00:00
100399/27/2019 00:0010/14/2019 00:00
100409/30/2019 00:009/30/2019 00:00
100419/30/2019 00:0011/1/2019 00:00
100439/30/2019 00:0010/7/2019 00:00
100449/30/2019 00:0010/7/2019 00:00
100459/30/2019 00:0010/7/2019 00:00
100469/30/2019 00:0010/7/2019 00:00
100479/30/2019 00:0012/5/2019 00:00
100489/30/2019 00:0010/1/2019 00:00
1004910/1/2019 00:0010/1/2019 00:00
1005010/1/2019 00:0010/1/2019 00:00
1005110/1/2019 00:0010/1/2019 00:00
1005210/1/2019 00:0011/14/2019 00:00
1005310/2/2019 00:0010/7/2019 00:00
1005410/2/2019 00:0010/14/2019 00:00

 

I would like to show on y report two different calculations using the following logic:

  1. A column or measure to display the time taken to finish a task (days between start and last update date)
  2. The average time it takes to complete a task in general (i just need an average estimation although i know there will be outliers to distort the average) and i think the previous column or measure would help in this calculation.

if someone can really help me with this i would really appreciate it.

 

Thanks in advance.

4 Replies