replace values in column

Hi :smiley: If at least one value in column 1 contain 0 create column 2 with 0.
Zrzut ekranu (35)

Hi,
I am assuming that the first column can contain only 1 or 0. For that case, please have a look at the attached workflow. It uses a GroupBy to find the minimum of the column, then uses that as a flow variable in a case switch to append another column if necessary. If column1 can contain other values than 1 and 0, you need to add a Math Formula (Variable) to turn the flow variable into a 0 or 1, e.g. using the expression min_in_args($$Iflowvarname$$, 1).
Kind regards
Alexander

columns.knwf (13.6 KB)

2 Likes

@AlexanderFillbrunn thanks a lot, that’s what i needed :smiley:

2 Likes

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