From the course: Low Code/No-Code Data Literacy with KNIME: From Basic to Advanced

Unlock this course with a free trial

Join today to access over 24,800 courses taught by industry experts.

What is a loop?

What is a loop?

(upbeat music) - In this video, you'll learn what loop is, how to build a loop, and how to distinguish between different types of loop nodes in analytics platform. Let's jump into it. Imagine the following use case. You have a list of orders from different countries, and you want to write the orders for each country into a separate sheet, in this example, in Excel sheet. What you can do of course, is to check which countries are there in the table, select the first one, filter its orders, write it to a separate sheet, and then repeat the process for the next country until you go through all of them. This can be a tedious and error-prone process. What if the number of countries is large, or what if new countries appear in the orders from time to time? Is there a simpler way? Yes, you can repeat the workflow segment for different data by using a loop. You can also define the parameters for parts of this workflow segment that should dynamically change, depending on the iteration with…

Contents