Solved

Creating a Sum using a running total and a conditional formual

Posted on 2013-05-15
3
297 Views
Last Modified: 2013-05-20
I need to clasify if a case has more than one request associated with it.  I was able to accomplish this through groups and a running total.  The data looks like this

Group a
Request 1
Request 2
   Running total 2

Group B
Request 1
    Running total 1

Group C
Request 1
request 2
Request 3
   Running total 3

Now I want to determine how many cases (groups) have more than one associated request.  I created an if/ then formula based on the running total, but I can't sum this as already includes summary data.  From looking at other posts, I think that I need a variable, but I am unsure how to do this and what forumla(s) I might need.  

I just want a total sum of all cases (groups) that have more than 1 request associated with it.  Any help will be greatly appreciated.
0
Comment
Question by:josslmpd
[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
  • 2
3 Comments
 
LVL 101

Accepted Solution

by:
mlmcc earned 500 total points
ID: 39169941
Try this

In the report header create a formula
WhilePrintingRecords;
Global NumberVar MoreThan1Count;
""

In the group footer
WhilePrintingRecords;
Global NumberVar MoreThan1Count;
If {#RunningTotal} > 1 then
     MoreThan1Count := MoreThan1Count + 1;
""

In the report footer
WhilePrintingRecords;
Global NumberVar MoreThan1Count;
MoreThan1Count

If you need the total number of cases just add another variable and calculate as you go.

mlmcc
0
 

Author Comment

by:josslmpd
ID: 39171441
Thank you, that worked perfectly.  Do you know of any resources, on this website or others, that explains variables and how to use them?
0
 
LVL 101

Expert Comment

by:mlmcc
ID: 39171761
I don't have any links readily available here.  I will try to check from home

mlmcc
0

Featured Post

On Demand Webinar: Networking for the Cloud Era

Did you know SD-WANs can improve network connectivity? Check out this webinar to learn how an SD-WAN simplified, one-click tool can help you migrate and manage data in the cloud.

Question has a verified solution.

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

Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
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 …
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

717 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