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
Solved

Response time <= 5.00 then 1 else 0

Posted on 2014-04-08
1
127 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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 …
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.

856 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