Solved

Crystal Formula Assistance required

Posted on 2012-03-14
2
270 Views
Last Modified: 2012-06-27
I need to do something like this..

Sum({CallDetail.Duration})  if {CallDetail.InternalNum} Not in range of 600 - 699

I don't know how to pull out the range..
0
Comment
Question by:wshcraft70
2 Comments
 
LVL 77

Assisted Solution

by:peter57r
peter57r earned 250 total points
ID: 37722143
Use a running totals field, starting from field explorer.

Specify the Sum of the Duration field;
Evaluate using a formula which would be..

{CallDetail.InternalNum}<600 or {CallDetail.InternalNum} >699

If this is a single total for the report you don't reset; if it's a total per group then you need to Reset on change of group.
0
 
LVL 100

Accepted Solution

by:
mlmcc earned 250 total points
ID: 37722481
ANother way would be

If {CallDetail.InternalNum}<600 or {CallDetail.InternalNum} >699 then
     {CallDetail.Duration}
Else
     0

You can then summarize the formula

mlmcc
0

Featured Post

Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

Question has a verified solution.

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

Long way back, we had to take help from third party tools in order to encrypt and decrypt data.  Gradually Microsoft understood the need for this feature and started to implement it by building functionality into SQL Server. Finally, with SQL 2008, …
If you have heard of RFC822 date formats, they can be quite a challenge in SQL Server. RFC822 is an Internet standard format for email message headers, including all dates within those headers. The RFC822 protocols are available in detail at:   ht…
Are you ready to implement Active Directory best practices without reading 300+ pages? You're in luck. In this webinar hosted by Skyport Systems, you gain insight into Microsoft's latest comprehensive guide, with tips on the best and easiest way…

749 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