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

How to calculate average when you use "rel_date_diff"

Received Response
36
Views
4
Comments
edited Dec 21, 2015 3:25PM in Reporting & Analytics for B2C Service 4 comments

Content

How to calculate average working hours between two dates

Example: I´v this report: 

assign_acct_ID ref_no DATE1 DATE2 rel_date_diff(DATE2,DATE1,1)
Jhon Lara 151223-000026 xxxxx xxxx 30:00:00
Jhon Lara 151115-000125 xxxx xxxx 20:00:00

And, I need any like this:

assign_acct_ID AVG(rel_date_diff(DATE2,DATE1,1))
Jhon Lara 25:00:00 

are there other way to do this whithout the function AVG()?? becouse, the "rel_date_dif" can not is into the other function.

 

Regards

Version

Oracle service cloud August 2015 SP2 (Build 141)

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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