Counting whenever a value changes in a column

Hi everyone,

I need to implement the column “group” shown in the screenshot below.
The logic is such that this column will keep counting whenever there is a value change (from 0 to 1, or 1 to 0) in column “low_glucose”. If possible, I’d like to implement it using only KNIME-specific nodes.

Thank you very much!
OG

Hi @Odko

See this wf counting_change.knwf (19.4 KB)
Schermafdruk van 2023-08-04 08-05-52
gr. Hans

3 Likes

Hi Gr. Hans! The workflow worked as a charm! Thank you so much! :blush:

1 Like

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