Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Runtime average

Hi,

I've two time stamp field for each record:

StartTime operation

EndTime operation

I needed to calculate the duration and I  wrote  Endtime - StartTime. Into my graph I see the correct value.

Now I would have the runtime avg for each document type, but I'm getting wrong values. I tried  avg(Endtime - starttime), but it's wrong.

For example

SAles orders          2h and 15 minutes

Invoices                    30 minutes

purchase orders       1h 12 minutes

...

How can I solve it ?

Help please

Thanks in advance

1 Reply
Not applicable
Author

why don't you calculate your duration time in load script as an aditional field