The CreatorCon Call for Content is officially open! Get started here.

How to calculate average to resolve the incidents (Only resolve) (For Old Data)

Prathamesh Cha1
Tera Contributor

Hi Team,

 

My requirement is to calculate the average time of incident from start to resolved

this is for the old data like for previous year.

what kind of script I have to write?

 

Thank You,

Best Regards

5 REPLIES 5

Dr Atul G- LNG
Tera Patron
Tera Patron

Hi @Prathamesh Cha1 

 

TO get this you can use PA if you want to know from start to end, or use standard reporting - Type Single Score.

 

https://www.servicenow.com/community/itsm-forum/how-to-calculate-average-time-taken-from-open-to-clo...

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

there is one metric but that calculated for closed/resoled/canceled

 

Is there any way to do this for only resolved using script

@Prathamesh Cha1  NO, you can use the solution provide in the link. 

*************************************************************************************************************
If my response proves useful, please indicate its helpfulness by selecting " Accept as Solution" and " Helpful." This action benefits both the community and me.

Regards
Dr. Atul G. - Learn N Grow Together
ServiceNow Techno - Functional Trainer
LinkedIn: https://www.linkedin.com/in/dratulgrover
YouTube: https://www.youtube.com/@LearnNGrowTogetherwithAtulG
Topmate: https://topmate.io/atul_grover_lng [ Connect for 1-1 Session]

****************************************************************************************************************

Runjay Patel
Giga Sage

Hi @Prathamesh Cha1 ,

 

When you want to calculate the open till closed, then you should create a function field in the report designer like below and run the report for previous year.

 

RunjayPatel_0-1738329665164.png

 

-------------------------------------------------------------------------

If you found my response helpful, please consider selecting "Accept as Solution" and marking it as "Helpful." This not only supports me but also benefits the community.


Regards
Runjay Patel - ServiceNow Solution Architect
YouTube: https://www.youtube.com/@RunjayP
LinkedIn: https://www.linkedin.com/in/runjay

-------------------------------------------------------------------------

 

In this video i have explained about Web service integration in ServiceNow like how it works, how we can configure it, what are the prerequisite and many more. I have covered below topics in this video. 1. understand Web Service. Like when and how we will use it. 2. Talked about Inbound and ...