?
Solved

Response time <= 5.00 then 1 else 0

Posted on 2014-04-08
1
Medium Priority
?
130 Views
Last Modified: 2014-04-30
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
Comment
Question by:captgriggs1
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
1 Comment
 
LVL 101

Accepted Solution

by:
mlmcc earned 400 total points
ID: 39987808
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

Featured Post

On Demand Webinar - Networking for the Cloud Era

This webinar discusses:
-Common barriers companies experience when moving to the cloud
-How SD-WAN changes the way we look at networks
-Best practices customers should employ moving forward with cloud migration
-What happens behind the scenes of SteelConnect’s one-click button

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
Suggested Courses

801 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question