Use a formular on Results

christian_1
christian_1 New Altair Community Member
edited November 2024 in Community Q&A

Hey Rapiminers,

 

I m looking for some help. I wonna use a use a formular on the result values like Excel. Here an examle for easier understanding.

 

Label Result

4.5

3.5

 

Example Value

3

5

 

Formular

If value "Label Result" is ">" than "Example Value" than set True else Wrong

 

Table example

Label Result | Example Value | Formular

4.5 | 3 | True

3.5 | 5 | Wrong

 

Thanks for helping

 

Best

Chris

 

 

Tagged:

Best Answers

  • Thomas_Ott
    Thomas_Ott New Altair Community Member
    Answer ✓

    You could use the Generate Attribute operator. It allows the use of If/Then statements and calculations. 

  • MartinLiebig
    MartinLiebig
    Altair Employee
    Answer ✓

    Hi Christian,

     

    nice to have you on board! 

     

    A simple Generate Attributes should do the trick. Works pretty similar to Excel. Maybe you want to use a set role operator in the after math.

     

    ~Martin

Answers

  • Thomas_Ott
    Thomas_Ott New Altair Community Member
    Answer ✓

    You could use the Generate Attribute operator. It allows the use of If/Then statements and calculations. 

  • MartinLiebig
    MartinLiebig
    Altair Employee
    Answer ✓

    Hi Christian,

     

    nice to have you on board! 

     

    A simple Generate Attributes should do the trick. Works pretty similar to Excel. Maybe you want to use a set role operator in the after math.

     

    ~Martin

  • christian_1
    christian_1 New Altair Community Member

    Wow, that was a quick answer. 

     

    mschmitz and Thomas_Ott thanks for your help.