Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
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 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