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!

Top N Talkers

Status
Not open for further replies.

JensH

MIS
Nov 8, 2001
5
GB
Hi folks,
I'm looking for a solution to show a list of Top 5 Talkers. I will use the tables from the DataWarehouse in OV NNM. Unfortunately the function topN in CR is only applicable for group results. But I don't want to create group results and show only the topN of these results. I will see only the topN of the data itselfs. Does anybody have enough skill in SQL to tell me, whether it is possible to change the SQL query. The SQL query should show only the top5 in descending order.

I hope my explanation was not that confusing and somebody knows how to solve this "small" challenge.

Thanks a lot in advance !!!
Jens
 
JensH:

Create a parameter field to prompt you on how many "N" should be. Then create a running total field, evaluate on every record, never to be reset. Then use the sort expert to sort the data in descending order. Finally, right click on the details section of the report and conditionally format the section to suppress if {#count} > {?N-Number} Software Support for Sage Mas90, Macola, Crystal Reports and Goldmine
Cell/VM: 714-348-0964
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top