Quantcast
Channel: KNIME RSS
Viewing all articles
Browse latest Browse all 4157

How to order multiple cells in a row by size

$
0
0

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.:

IDabcdef
234246

3

1412
...      

 

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.)

IDabcdefP(a)P(b)Pc)P(d)P(e)P(f)
23424631412643512
...            

 

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.


Viewing all articles
Browse latest Browse all 4157

Trending Articles