johnstrang
Technical User
Hi,
I have what should be an easy question, but is proving difficult.
All I want is the sum of the minutes from this formula (@act_time):
The aim is to get the total amount of time spend on different cases by the team specified in the parameter {?Team}.
I have tried grouping on the field {HPD_ACTIONS.CASE_ID} but that made no difference.
If anyone can help it will my Friday so much better![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
Thanks,
John
I have what should be an easy question, but is proving difficult.
All I want is the sum of the minutes from this formula (@act_time):
Code:
whileprintingrecords ;
if PreviousIsNull ({HPD_ACTIONS.CASE_ID}) then 0
else
(
if {HPD_ACTIONS.CASE_ID} = previous({HPD_ACTIONS.CASE_ID})
and (previous ({HPD_ACTIONS.GROUP_NAME}) = {?Team} )
then
DateDiff ("n",previous({@action_time}) , {@action_time})
)
The aim is to get the total amount of time spend on different cases by the team specified in the parameter {?Team}.
I have tried grouping on the field {HPD_ACTIONS.CASE_ID} but that made no difference.
If anyone can help it will my Friday so much better
Thanks,
John