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!

Bottom Up Ranking (ReportNet)

Status
Not open for further replies.

AMussell

IS-IT--Management
Jul 28, 2004
1
0
0
NZ
I have a report that list products by gross sale amount and a calculated column 'Rank' that ranks them based on the statement;

"rank([Gross Sale Amount])"

I can then sort the top 20 products by filtering where;

"rank([Gross Sale Amount])<= 20"

I also wish to view only the bottom 20 ranked products but am having GREAT difficulty doing so dynamically. I would like to be able to determine the rank of the lowest product - say 297 - and filter on products with rank 20 or less than that.

Any ideas would be appreciated.
Thanks
Andy
 
Hi Andy,

I'm not sure wether I got your question right, but couldn't you just limit the number of displayed rows in your report and then sort asc or desc by leaving the ranking how you did it?!

Just come back if that isn't a solution for you, ok?!

Jochen
 
Can you do something like:
rank([Gross Sale Amount]>= maximum(rank([Gross Sale Amount]) - 20
 
I would use rank([Gross Sale Amount]*-1)
This would give you a reverse ranking, and then use rank<20 to filter the report.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top