?
Solved

running total by group

Posted on 2011-03-06
3
Medium Priority
?
366 Views
Last Modified: 2012-05-11
Hi Experts
I am trying to create a running total that provides a total based on groups using a formula.
each group has multiple record and the running total is counting each record that is true to the formula, I want to count only 1 for each group no matter how many records are in the group

I am summarizing on InvType
using a count
Evaluating with formula : invType = "callback"
Reset never

my data looks like this:

Group 1
  callback
  callback
==========
       1
Group 2
  callback
============
        1
if I could evaluate with a formula for each group that should solve the problem?? I Think
George
0
Comment
Question by:GeorgeSalet
3 Comments
 
LVL 101

Expert Comment

by:mlmcc
ID: 35053570
So what you want is

Group 1
  callback
  callback
==========
       1
Group 2
  callback
============
        2


mlmcc
0
 
LVL 19

Accepted Solution

by:
GJParker earned 500 total points
ID: 35055282
So if i'm correct all you want to show is a 1 if any record in the group has an invtype of 'callback', is that correct ?

If so create a new formula

//@Callback
If :Tabl.InvType} = 'callback' Then 1

Then add a summary showing the max of this field in the group header.

HTH
0
 

Author Closing Comment

by:GeorgeSalet
ID: 35060162
Perfect
Thanks for the help
George
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

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…
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 video summaries big data hadoop online training demo (http://onlineitguru.com/big-data-hadoop-online-training-placement.html) , and covers basics in big data hadoop .
With just a little bit of  SQL and VBA, many doors open to cool things like synchronize a list box to display data relevant to other information on a form.  If you have never written code or looked at an SQL statement before, no problem! ...  give i…
Suggested Courses

571 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