I have Open and Closed Calls
Incident # Seconds Opened Seconds Closed
1111 12
2222 10
For Open Calls
if {Incident.State:} = "O" then DateDiff ("s",{Incident.Open Date & Time},{@currentdate})
For Closed Calls
if {Incident.State:} = "C" then DateDiff ("s",{Incident.Open Date & Time},{Incident.Close Date & Time})
I do a average for both formulas' but I only want averages if the Call is Opened or Call is Closed. In this generic example I would like to only see 12 seconds for the average Open instead I get 6, because it seems to count the 2 records.
Thanks for the help in advance!!!
Incident # Seconds Opened Seconds Closed
1111 12
2222 10
For Open Calls
if {Incident.State:} = "O" then DateDiff ("s",{Incident.Open Date & Time},{@currentdate})
For Closed Calls
if {Incident.State:} = "C" then DateDiff ("s",{Incident.Open Date & Time},{Incident.Close Date & Time})
I do a average for both formulas' but I only want averages if the Call is Opened or Call is Closed. In this generic example I would like to only see 12 seconds for the average Open instead I get 6, because it seems to count the 2 records.
Thanks for the help in advance!!!