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

creating historical reports independent of individual column data

Received Response
edited Mar 14, 2019 7:01PM in Reporting & Analytics for B2C Service 5 comments


While creating a report that relies on more than one date column (incidents.created and incidents.closed) to calculate backlog, it didn't appear possible to perform a straightforward query.  In order to work around this problem, I created multiple columns with date offsets. 
For example,  in order to calculate backlog for each day of the week, I resorted to multiple columns where each column is offset by a given number of days from a starting date $date_param:
sum(if(incidents.created < date_add(date_trunc($date_param, IWEEKS), 1, DAYS, 1) & nvl(incidents.closed, sysdate()) >= date_add(date_trunc($date_param

Howdy, Stranger!

Log In

To view full details, sign in.


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