brizaybrizoke
Technical User
Crystal 8.5
I need to calculate the average of a datediff and am not finding any previous posts with formulas that work with my report.
I currently have three formulas to achieve my datetime and one datediff formula converted to seconds.
The datediff is calculating the seconds between two transaction datetimes.
I also have one group that distinguishes between two types of orders.
Ideally, I would like to find the average for both types of orders.
Formula 1, Trans Date // date({TRANS_DATE})
Formula 2, Trans Time // time({TRANS_TIME})
Formula 3, Date Time // {@Trans Date} + {@Trans Time}
Formula 4, Date Diff // (datediff("s",(previous({@Date Time})),{@Date Time}))
When I attempt to create an average formula, Average // Average({@Date Diff}, GroupName({ORDER_TYPE})) // I receive a message stating 'The summary/running total field could not be created.'
Any help would be greatly appreciated! I've been scouring forums for two weeks to no avail! Thanks in advance!
I need to calculate the average of a datediff and am not finding any previous posts with formulas that work with my report.
I currently have three formulas to achieve my datetime and one datediff formula converted to seconds.
The datediff is calculating the seconds between two transaction datetimes.
I also have one group that distinguishes between two types of orders.
Ideally, I would like to find the average for both types of orders.
Formula 1, Trans Date // date({TRANS_DATE})
Formula 2, Trans Time // time({TRANS_TIME})
Formula 3, Date Time // {@Trans Date} + {@Trans Time}
Formula 4, Date Diff // (datediff("s",(previous({@Date Time})),{@Date Time}))
When I attempt to create an average formula, Average // Average({@Date Diff}, GroupName({ORDER_TYPE})) // I receive a message stating 'The summary/running total field could not be created.'
Any help would be greatly appreciated! I've been scouring forums for two weeks to no avail! Thanks in advance!