Difference between two values

Hello all,

I have just started using KNIME and wanted help on this item.

Screenshot 2021-09-23 082923

I am trying to put in a check to get the difference between the two values in the Net Weight Column to make they are the same. I tried using the Column Expression node but was not able to come up with the answer.

Any help would be appreciated.

Thanks!

Hi @N904808 welcome to KNIME Forum

There a multiple ways to do the calculation, see this simple wf difference_between_2_values.knwf (28.7 KB). I think the best solutions depends on how you want to use this calculation in your workflow / analysis.
image

Hope this helps.
gr. Hans

5 Likes

Thank you @HansS. That worked.

2 Likes

You could use Moving Aggregation, calculate the Variance (2 step window) and then check wether it is 0
(@HansS Solution is probably the way to go. Just trying to be creative here)
br

2 Likes

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.