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!

TopN Counts greater than 1 1

Status
Not open for further replies.

socalvelo

Technical User
Jan 29, 2006
128
US
CR XI

I am trying to set the TopN in the Group Sort Expert to return the top 5 records with ties. But I don't want groups with single records (or counts of 1) because there are several of these.
In other words I want group record counts greater than 1.

Can someone suggest a formula that can be placed into the TopN X-2 editor or would this be something placed in the Group Expert?
 
In the Group Selection Formula section, enter:

Code:
Count({Table.YourCountField},{Table.YourGroupField}) > 1

Hope this helps

Cheers
Pete
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top