• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 138
  • Last Modified:

Response time <= 5.00 then 1 else 0

Hello,
I'm trying to get the number of days that a call was open, I keep getting 1 instead of the total which should be about "X" for the dates that I'm using.  The ClosedIn5 is what I'm working on.  I have included the fields that it uses.  Thanks!

Formula Fields

ClosedIn5
if {CallLog.CallStatus}='Closed' and {@Closed Date} in {?Begin Date} to {?End Date} and
{@ResponseTime} <= 5.00 then 1 else 0

ResponseTime
if {@Closed Date} in {?Begin Date} to {?End Date} then HFWDurNumDateHelpdesk ({CallLog.RecvdDate},{CallLog.ClosedDate})

ClosedDate
Hfwdatetodate({CallLog.ClosedDate})

BeginDate
cdate ({?Begin Date})

EndDate
cdate ({?End Date})
0
captgriggs1
Asked:
captgriggs1
1 Solution
 
mlmccCommented:
How are you using the formulas?

You should be able to simply sum the first one with a summary function

Try inserting into the detail section
Right click it
Click INSERT -->  SUMMARY
Set the summary to SUM
Put it in the report footer or if you ant in the group footer

mlmcc
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: Microsoft Azure 2017

Azure has a changed a lot since it was originally introduce by adding new services and features. Do you know everything you need to about Azure? This course will teach you about the Azure App Service, monitoring and application insights, DevOps, and Team Services.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now