How to distribute work equally

I am new to knime and facing below question.
Wondering if someone can help me to distribute work equally as below example.

Many thanks!

Hi @rebecca2020

Welcome to the KNIME Forum. Take a look at this workflow distribute_equal.knwf (28.7 KB) It uses the Chunck Loop node. With the Extract Table dimension it identifies the number of rows in the table. This is input for the number of chunks.
Screenshot from 2020-09-01 20-18-37

gr. Hans

1 Like

Hi HansS,

Thanks for your response.
But most of time the #of work volume might be more or less. For example below.
Can I still use same workflow to get the result?

1 Like

Hi @rebecca2020

Yes that is possible. I added a Row Filter node to the flow to filter out the Name’s with no matching ID’s. See: distribute_equal.knwf (32.7 KB) .
gr. Hans

1 Like

This first workflow is working! Save my life. Thanks!

2 Likes

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