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

Ranking in Top N report for a Cross Tab

Status
Not open for further replies.

geo40

MIS
Jul 19, 2002
23
0
0
EU
I'll make a TOP 10 report in the CrossTab. I know that I can put the following formula in my report :

WhileReadingRecords;
NumberVar TEST =: TEST + 1;

Issue:

I have 40 records from a specific field with a amount. Now I want the TOP 10 amounts. After I put mentioned formula in my report I press the button Top N ( N=10), I got indeed 10 records, however the ranking isn't 1 to 10, but for example 12,2,27,33,14,15,7,23,39,32 ( that's clear to me because the 12th record has the biggest amount )

Who knows the trick to get a real TOP 10??





 
In Design View,
Select the CrossTab Object...
Use the Menu Report/TopN Sort/Group Expert.

You can now set the TopN for the crosstab Rows. It doesn't seem to work for columns. Editor and Publisher of Crystal Clear
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top