Solved

How can I Insert a SUM field of a formula in another Group Footer?

Posted on 2011-09-29
3
397 Views
Last Modified: 2012-06-27
I have a formula that is calculated at the Group Footer 2 level. It is not in the details level. and I want to sum the totals of the field into Group Footer 1, but there are no options to do so on the right click menu. also Running totals Says it is an 'invlaid field selection' if I try doing so. Any ideas how I can calculate this sum of group totals? The calculation I am using is based of data on GF2, not per individual detail record.

I ma using Crystal Reports 2008 and/or version 10. I have both.
0
Comment
Question by:GMSMRM
[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
3 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 36815927
You should be able to copy it and put it in the group 1 footer.

mlmcc
0
 
LVL 19

Accepted Solution

by:
GJParker earned 500 total points
ID: 36815960
You will need to create 3 formulas

Formu1a 1 - place this in GH1

//@VariableReset
Shared NumberVar GroupTot;

If Not InRepeatedGroupHeader Then GroupTot := 0

Formula 2 - Place this in GF2

//@VariableAccum
Shared NumberVar GroupTot := GroupTot + YourFormula

Formula 3 - Place this in GF1

//@VariableDisplay
Shared NumberVar GroupTot

HTH


0
 

Author Closing Comment

by:GMSMRM
ID: 36816119
GJParker,
That worked! Thanks alot.
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

Suggested Solutions

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 …
Nobody understands Phishing better than an anti-spam company. That’s why we are providing Phishing Awareness Training to our customers. According to a report by Verizon, only 3% of targeted users report malicious emails to management. With compan…
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

710 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