Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

running total by group

Posted on 2011-03-06
3
Medium Priority
?
364 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

Important Lessons on Recovering from Petya

In their most recent webinar, Skyport Systems explores ways to isolate and protect critical databases to keep the core of your company safe from harm.

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 …
Integration Management Part 2
Exchange organizations may use the Journaling Agent of the Transport Service to archive messages going through Exchange. However, if the Transport Service is integrated with some email content management application (such as an anti-spam), the admin…

963 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