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.

Top N by Grouped Fields

apabonokapabonok Member Posts: 2 Learner I
Hi!  I'm new in Rapidminer.  With this set of data:

Country, Customer, Sales
----------  ------------- ------------
Country1, C, 100
Country1, B, 90
Country1, A, 80
Country1, D, 70
Country1, H, 60
Country2, X, 1000
Country2, P, 900
Country2, Z, 800
Country2, W, 700
Country2, M, 600


I want Top 3 of Customer by each Country. This:

Country, Customer, Sales
----------  ------------- ------------
Country1, C, 100
Country1, B, 90
Country1, A, 80
Country2, X, 1000
Country2, P, 900
Country2, Z, 800

Pls, help me. 

Answers

  • MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,531 RM Data Scientist
    Hi,
    Group Into Collection, Loop Collection and Filter Example Range should do the trick. Maybe check out this video: https://www.youtube.com/watch?v=7szR0HdDVRg for some quick explanation of Group Into Collection.

    BR,
    Martin



    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • apabonokapabonok Member Posts: 2 Learner I
    Wonderful! Yes, that it works for me!!!!  Thank you!!!!
Sign In or Register to comment.