Solved

Response time <= 5.00 then 1 else 0

Posted on 2014-04-08
1
126 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
1 Comment
 
LVL 100

Accepted Solution

by:
mlmcc earned 100 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

Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

Question has a verified solution.

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

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 …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

777 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