The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
Top5
DaniFigueroa
Member Posts: 2 Learner I
in Help
Hi, I wonder how I can get the Top5 of clients from a database.
I wish you could help me. Thank you
0
Best Answer
-
BalazsBarany Administrator, Moderator, Employee-RapidMiner, RapidMiner Certified Analyst, RapidMiner Certified Expert Posts: 955 UnicornHi!
Usually you can order your clients by the metric you select (e. g. revenue, number of invoices) directly in the database by using ORDER BY.
If not, you can read the whole example set into RapidMiner and use the Sort operator with the selected attribute and sorting direction = decreasing. Then you use "Filter Example Range" with first example = 1 and last example = 5 to only get the top 5.
Regards,
Balázs7
Answers
regards,
Alex