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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to get totals and subtotals using Nth largest Summary

Status
Not open for further replies.

gallobask

Technical User
Jun 25, 2009
48
US
I am using the Nth largest in a standard summary to eliminate some redundant data but I can't get a summary/total to work off of this field. The Nth largest summary is not created from a data field but a formula. Any ideas?

Thank you!!!!



 
Create a formula like this:

whileprintingrecords;
numbervar sumnth := sumnth + {@yournthlargestformula};

Place this in the section where the nthlargest is calculated. Then place a display formula in the report footer:

whileprintingrecords;
numbervar sumnth;

This assumes your intention was to sum the values.

-LB
 
Ah Yes!! Create a variable. It worked. Thanks! I'm just learning as I go so I appreciate the help!!!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top