Hello there!
As a relatively new user of KNIME, I am not sure whether my problem requires a large rule-engine or just a simple node that I don't know of. So here it goes:
What I currently have:
A table in which each row has multiple columns, e.g.:
ID | a | b | c | d | e | f |
234 | 2 | 4 | 6 | 3 | 14 | 12 |
... |
What I would like to have:
An order of the values in columns a to f for each ID, so that the highest value is first place, the second highest second place, etc.
For example:
(I used P(x) to signify that it contains the Position of the corresponding column for each row.)
ID | a | b | c | d | e | f | P(a) | P(b) | Pc) | P(d) | P(e) | P(f) |
234 | 2 | 4 | 6 | 3 | 14 | 12 | 6 | 4 | 3 | 5 | 1 | 2 |
... |
I could find position 1 and position 7 by using the Max() and the Min() function in the Math Node and then a Rule-Engine to match the max- or min-values to the corresponding cells.
But what about the other positions. Do you have any ideas?
I am looking forward to your answers! (This is my very first KNIME post! :))
All the best,
Ulla.