I am new to using Crystal Reports and want to thank you in advance for any help you can give me.
I'm working on a report that is to calculate the amount of time a ticket is open from its first escalation to close date. This summary need to be broken down by representative and needs to produce the average age per rep. A ticket can be escalated multiple times, so I just want to capture the first escalation.
My details include ticket number, escalation date, close date. I then grouped by ticket number and wrote a formula to calculate the maximum age per ticket number (earliest escalation through close). These are grouped by representative and now I need a way to add all the maximum ages per ticket for each representative and then find the average. I think this should be easy and I've tried a bunch of things, but keep getting an error that "a summary/running total could not be created".
I keep wanting to create a variable that will hold the maximum per ticket and then create a sum of those variables per rep, but I can't do it.
Sample:
Group1: Rep1
Group2: Ticket 1234
Details:
Escalation Date CloseDate Time Difference
12/10/04 12/20/04 10 days
12/12/04 12/20/04 8 days
Group2: Ticket 4567
Details:
Escalation Date Close Date Time Difference
12/13/04 12/25/04 12 days
12/15/04 12/25/04 10 days
12/20/04 12/25/04 5 days
Desired Results:
Ticket 1234 was open for 10 days from first escalation to close.
Ticket 4567 was open for 12 days from first escalation to close.
10 + 12 = 22/2 tickets = 11 days
Rep1 has an average of 11 open days from first escalation to close.
I'm working on a report that is to calculate the amount of time a ticket is open from its first escalation to close date. This summary need to be broken down by representative and needs to produce the average age per rep. A ticket can be escalated multiple times, so I just want to capture the first escalation.
My details include ticket number, escalation date, close date. I then grouped by ticket number and wrote a formula to calculate the maximum age per ticket number (earliest escalation through close). These are grouped by representative and now I need a way to add all the maximum ages per ticket for each representative and then find the average. I think this should be easy and I've tried a bunch of things, but keep getting an error that "a summary/running total could not be created".
I keep wanting to create a variable that will hold the maximum per ticket and then create a sum of those variables per rep, but I can't do it.
Sample:
Group1: Rep1
Group2: Ticket 1234
Details:
Escalation Date CloseDate Time Difference
12/10/04 12/20/04 10 days
12/12/04 12/20/04 8 days
Group2: Ticket 4567
Details:
Escalation Date Close Date Time Difference
12/13/04 12/25/04 12 days
12/15/04 12/25/04 10 days
12/20/04 12/25/04 5 days
Desired Results:
Ticket 1234 was open for 10 days from first escalation to close.
Ticket 4567 was open for 12 days from first escalation to close.
10 + 12 = 22/2 tickets = 11 days
Rep1 has an average of 11 open days from first escalation to close.