Skip to main content
Question

Hi, I am modelling a ticket process. I would like to know how I can show whether tickets are solved and closed by different employees, e.g. a ratio.

  • March 30, 2023
  • 10 replies
  • 18 views

The relevant colums are 'status', which shows the ticket status, e.g. accepted, solved, closed, etc, and the column 'emailaddress', which shows the emailaddress of the employee who changed the status. A ticket should be solved and closed by different employees. Thus, when an employee closes a ticket, this should not be a ticket which that employee solved. I would like to see a ratio of the number of tickets that were solved and closed by the same employee and the number of tickets that were solved and closed by a different employee. Thank you in advance!

10 replies

mukesh.gupta11
Level 7
Forum|alt.badge.img+15

You can use case when statement to compare the Resolver and Closed by EmpName and devide this case with the total number of case.


  • Author
  • Level 3
  • March 30, 2023

Thank you for your answer! But how can I compare the employee name for the 'solved' status with the employee name for the 'closed' status? What component shoud I use? I tried filtering, but a ticket does not necessary include both a solved & closed status, so then I also get tickets with e.g. only a solved status


I assume you have an activity called "Solved Ticket" and another "Closed tiecket" or something like that.

 

Is status a column of the case or of the activity table?

Is the employee name in the _USER field of activity table, or in a column of the case table?


  • Author
  • Level 3
  • March 30, 2023

The dataset has the columns TicketID, Status, Timestamp, and Employee. The case ID = TicketID, Activity = Status, Timestamp = Timestamp. Indeed, the activities are 'Solved' and 'Closed' (among other activities, such as 'New', 'Accepted', etc.)


Hmmm.... I will need to check it, but I guess SOURCE - TARGET is the answers. Combined with edge filters to select as source the activity with SOLVED and as target the activity with CLOSED

 

https://docs.celonis.com/en/source---target.html

 

Let me know if you got a solution. If not I will keep thinking....

 

It seems pretty interesting and it looks like a typical scenario, so eventually we should ask Celonis to add a standard solution in the documentation, in this (really helpful, btw) page:

https://docs.celonis.com/en/examples-and-use-cases.html

 

 


  • Author
  • Level 3
  • March 31, 2023

Hmmm.... I will need to check it, but I guess SOURCE - TARGET is the answers. Combined with edge filters to select as source the activity with SOLVED and as target the activity with CLOSED

 

https://docs.celonis.com/en/source---target.html

 

Let me know if you got a solution. If not I will keep thinking....

 

It seems pretty interesting and it looks like a typical scenario, so eventually we should ask Celonis to add a standard solution in the documentation, in this (really helpful, btw) page:

https://docs.celonis.com/en/examples-and-use-cases.html

 

 

Thank you! I will try it in a bit and I'll let you know if it works :)


  • Author
  • Level 3
  • March 31, 2023

I have not yet been able to solve it with Source - Target. I have now been looking at how to do it with the Number component, and then adding a formula. This is what I have now, but it does not work yet, I am also not sure if it is possible like this


  • Author
  • Level 3
  • March 31, 2023

I have not yet been able to solve it with Source - Target. I have now been looking at how to do it with the Number component, and then adding a formula. This is what I have now, but it does not work yet, I am also not sure if it is possible like this

Formula


  • Author
  • Level 3
  • March 31, 2023

Formula

Note that the dataset is called tickets_anonymized, and the name of the employee is stored in 'Email Address', the status is accepted, solved, closed, etc


mukesh.gupta11
Level 7
Forum|alt.badge.img+15

You can use PU function to get the Name of resolver & Closer emp.

 

https://docs.celonis.com/en/pql-function-library.html