Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Suppressing duplicates does not remove from totals 2

Status
Not open for further replies.

RF

Technical User
Apr 13, 2000
1
JP
How do you stop the suppressed detail line amounts from being included in totals. Even grouping first does not help.<br><br>Thanks anyone!
 
The only way I have found to do this is to use a running total, and to calculate it based on a formula, one that gets only the rows that you don't suppress.&nbsp;&nbsp;(Or, just don't select the suppressed rows in the first place--Weed them out in your report selection formula.)<br><br>Carefully test your running totals, however, they tend to be flaky in complex reports.&nbsp;&nbsp;(e.g. Hide certain sections and the hidden numbers drop out of the total;&nbsp;&nbsp;Re-show the section, and voila, the numbers are included in the total the way they should be.&nbsp;&nbsp;Hide the section again, maybe the numbers are added in, maybe they aren't.)<br><br>Also, be careful with your formula that indicates which rows to include in the total.&nbsp;&nbsp;If it contains more than a simple NOT statement, or and AND statement (no OR statements, please), put it in a formula field, and use the formula field.&nbsp;&nbsp;For some reason, the formulas in running totals and for section suppression don't handle &quot;OR&quot; statements well, at least in version 7.<br><br>Mary<br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top