I am getting error when generate attribute

sgnarkhede2016sgnarkhede2016 Member Posts: 152 Contributor II
edited March 2020 in Help
I am write condtion in generate attribute

Quarter     =>  if(%{MONTH} <= 3,10,100)

After executing getting error

"Error in evaluting expression: '=' must have argument same type

Best Answer

Answers

  • MartinLiebigMartinLiebig Administrator, Moderator, Employee, RapidMiner Certified Analyst, RapidMiner Certified Expert, University Professor Posts: 3,483 RM Data Scientist
    btw,
    eval(%{MONTH+"<=3") 

    also works :)

    Cheers,
    Martin
    - Sr. Director Data Solutions, Altair RapidMiner -
    Dortmund, Germany
    [Deleted User]sgenzer
Sign In or Register to comment.