Hi Kevin,
Welcome to KNIME Community Forum!
Just to see if I got you right. Should desired output from above input be like this:
1
1
1
1
1
so after first zero all values should be zero and then you will only keep rows with 1 meaning first five rows or?
Additionally here is a topic where switch from Alteryx to KNIME was discussed: Considering switching to KNIME from Alteryx
Br,
Ivan