The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here

calculate rows

gritsaygritsay Member, University Professor Posts: 12 University Professor
edited November 2018 in Help
Hello! What I can execute add or minus data from rows?

For example, source table:

name    | original series | smoothing series |
param1 |  12                |  13                   
param2 |  11                |  13
param3 |  22                |  21

Postprocessing table:

name    | original series | smoothing series |  sum  | minus|
param1 |  12                |  13                    | 25    |-1      | 
param2 |  11                |  13                    | 24    |-2      |
param3 |  22                |  21                    | 43    | 1      |

Which operator should I use ?

Answers

  • colocolo Member Posts: 236 Maven
    I would suggest the "Generate Attributes" operator. It allows the creation of new attributes while referencing existing attributes and using expressions (including some useful functions) is possible. If you have the attributes "att1" and "att2" you can create the new attributes sum (att1 + att2) and minus (att1 - att2) easily. You should not use blanks or special characters inside the attribute names to avoid problems here.

    Regards,
    Matthias
  • gritsaygritsay Member, University Professor Posts: 12 University Professor
    Thanks! It's very just. :)
Sign In or Register to comment.