# how to copy and paste all the rows 12 times in KNIME?

**URL:** <https://forum.knime.com/t/how-to-copy-and-paste-all-the-rows-12-times-in-knime/83798>\
**Category:** KNIME Analytics Platform\
**Tags:** node\
**Created:** [October 11, 2024, 9:31am UTC](https://forum.knime.com/t/how-to-copy-and-paste-all-the-rows-12-times-in-knime/83798 "2024-10-11T09:31:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ThomasChen](https://forum-cdn.knime.com/letter_avatar_proxy/v4/letter/t/eb9ed0/32.png) [@ThomasChen](https://forum.knime.com/u/ThomasChen)\
**Post date:** [October 11, 2024, 9:31am UTC](https://forum.knime.com/t/how-to-copy-and-paste-all-the-rows-12-times-in-knime/83798/1 "2024-10-11T09:31:36Z")

</div>

Hi guys, I’m currently migrating Alteryx workflows into KNIME workflows. I encountered a problem when migrating “generate rows” in Alteryx. “generate rows” just copy and paste all the rows 12 times, but I don’t know how to do it in KNIME. For example, the input into the node is :  
A  
B  
C,  
the output will be :  
A  
…\*10times  
A  
B  
…\*10times  
B  
C  
…\*10times  
C

---

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [October 11, 2024, 9:41am UTC](https://forum.knime.com/t/how-to-copy-and-paste-all-the-rows-12-times-in-knime/83798/2 "2024-10-11T09:41:54Z")

</div>

@ThomasChen it could be done like this:

 ![image](https://forum-cdn.knime.com/uploads/default/original/3X/1/7/171e042e82251ce05059d78179e3ca91e6121745.png)

> **[Multiply Rows - KNIME Forum (83798) – mlauber71](https://hub.knime.com/mlauber71/spaces/Forum/2024/Multiply%20Rows%20-%20KNIME%20Forum%20(83798)~QWVfGQkNQXyGCeN7/current-state)**
>
> Multiply all Rows by 10x https://forum.knime.com/t/how-to-copy-and-paste-all-the-rows-12-times-in-knime/83798?u=mlauber71

---

<div class="post-metadata">

**Author:** ![HansS](https://forum-cdn.knime.com/user_avatar/forum.knime.com/hanss/32/6979_2.png) [@HansS](https://forum.knime.com/u/HansS)\
**Post date:** [October 11, 2024, 9:43am UTC](https://forum.knime.com/t/how-to-copy-and-paste-all-the-rows-12-times-in-knime/83798/3 "2024-10-11T09:43:46Z")

</div>

Hi @ThomasChen

Or go for the One Row to Many node.

> **[One Row to Many](https://hub.knime.com/knime/extensions/org.knime.features.datageneration/latest/org.knime.datageneration.onerowtoman.OneRowToManyNodeFactory)**
>
> Each row is multiplied depending on the number in the integer column. (E.g. you can use this node to create the items in a shopping basket, if you only have th…

gr. Hans

---

<div class="post-metadata">

**Author:** ![mlauber71](https://forum-cdn.knime.com/user_avatar/forum.knime.com/mlauber71/32/73590_2.png) [@mlauber71](https://forum.knime.com/u/mlauber71)\
**Post date:** [October 12, 2024, 6:13am UTC](https://forum.knime.com/t/how-to-copy-and-paste-all-the-rows-12-times-in-knime/83798/4 "2024-10-12T06:13:20Z")

</div>

@ThomasChen also if you are migrating from Alteryx you might know these resources

> [@Adding a folder location with backslashes to a string](https://forum.knime.com/t/adding-a-folder-location-with-backslashes-to-a-string/83368/5):
>
> I assume you will then be familiar with these resources. If not I just put the link here. Also it is always good thing to ask on the forum since there are several people who have experience with the migration themselves and all KNIME users here are happy to help.

---

<div class="post-metadata">

**Author:** ![system](https://forum-cdn.knime.com/uploads/default/original/1X/ab3ccf34482a0329361734a18199390177204f15.png) [@system](https://forum.knime.com/u/system)\
**Post date:** [October 19, 2024, 6:13am UTC](https://forum.knime.com/t/how-to-copy-and-paste-all-the-rows-12-times-in-knime/83798/5 "2024-10-19T06:13:23Z")

</div>

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