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.

Generate a sequence iteration wise

sgnarkhede2016sgnarkhede2016 Member Posts: 152 Contributor II
Hello,
I want to generate a sequence like.

In my first loop, Five customers is coming then I will generate Id 1 to 5
In the next loop 7 Customer is coming I want to start Id from 6 and so as per iteration.

Best Answer

Answers

  • MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,529 RM Data Scientist
    Hi,
    have you checked the operator Generate ID?

    Best,
    Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
  • sgnarkhede2016sgnarkhede2016 Member Posts: 152 Contributor II
    edited March 2020
    But first time i need to pass offset value is like 1 or 101 next time i will get Max_Id in macro max but how to pass  that max macro  in generate Id for next iteration
    e.g I have used branch, give condition if iteration==1 then I pass in offset =0  and store max  id in Max_Id macro and In Else part I have mentioned in Generate Id Offset %{Max_Id} 
Sign In or Register to comment.