You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Incident age 'grid'

edited Dec 11, 2015 3:41PM in Reporting & Analytics for B2C Service 5 comments

Content

I need to create a report which shows the age of an incident, using the field incidents.c$sla_start

It would be arranged as below:

Days Open: 1 2-7 8-14 15-21 22+
  4 1 9 6 12

I'd hoped to use date_diff, so:

count(distinct if( date_diff(sysdate(),incidents.c$sla_start) <86401, incidents.i_id) )

Should give me the "upto one day old" figures, but what about the rest of the columns? Can you use "between" in an IF statement?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!