Knime Value Counter for groups

ID Counter Price
BASE 1 $23.00
BASE 2 $34.00
BASE 3 $122.00
CAMP 1 $254.00
CAMP 2 $32.00

How can I create the Counter Column?? In the Shown table above.

Hi @shubhamss
You can create the counter column by using the Rank node.
gr. Hans

3 Likes

To add to the answer by @HansS: I would also add an additional numeric column (either a constant or a counter) to be used in ranking, for example as here:
https://kni.me/w/CFiK_DsWtGvz-hy_
Cheers,
Mischa

3 Likes

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