<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Copy input  to multiple rows in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Copy-input-to-multiple-rows/m-p/2350347#M117215</link>
    <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;The rule for how many rows I need to create depends on the account in the input. I wanted to do something like&lt;/P&gt;&lt;P&gt;if account = A then create row with account A1 and create row with account A2&lt;/P&gt;&lt;P&gt;if account = B then &lt;SPAN&gt;create row with account B1&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if account = C ... t&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 29 Nov 2017 16:25:12 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-11-29T16:25:12Z</dc:date>
    <item>
      <title>Copy input  to multiple rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Copy-input-to-multiple-rows/m-p/2350345#M117213</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;I need to create n multiple output rows for an input row depending on a field in the input row. I tried with tJavaFlex but failed. The iteration is to limited due to the fact that I need variable iterations based on the input, see example below. After the duplication each row's fields will be changed (field Account).&amp;nbsp; Any clue how I could achieve this? Thanks&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Example" style="width: 977px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LrdJ.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138682i604DDDD231B91AAF/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LrdJ.jpg" alt="0683p000009LrdJ.jpg" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Example&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 12:05:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Copy-input-to-multiple-rows/m-p/2350345#M117213</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-29T12:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: Copy input  to multiple rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Copy-input-to-multiple-rows/m-p/2350346#M117214</link>
      <description>&lt;P&gt;I'm afraid your example data doesn't show how or why the rows are multiplied. However, so long as you understand this, you can use this tutorial to carry this out (&lt;A href="https://www.rilhia.com/quicktips/quick-tip-row-multiplication" target="_blank" rel="nofollow noopener noreferrer"&gt;https://www.rilhia.com/quicktips/quick-tip-row-multiplication&lt;/A&gt;). You will first need to understand a rule for multiplying each row, once you have that, just convert it into some simple Java mechanism and use it with the example.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 15:37:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Copy-input-to-multiple-rows/m-p/2350346#M117214</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-29T15:37:22Z</dc:date>
    </item>
    <item>
      <title>Re: Copy input  to multiple rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Copy-input-to-multiple-rows/m-p/2350347#M117215</link>
      <description>&lt;P&gt;Thanks for your reply.&lt;/P&gt;&lt;P&gt;The rule for how many rows I need to create depends on the account in the input. I wanted to do something like&lt;/P&gt;&lt;P&gt;if account = A then create row with account A1 and create row with account A2&lt;/P&gt;&lt;P&gt;if account = B then &lt;SPAN&gt;create row with account B1&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if account = C ... t&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 16:25:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Copy-input-to-multiple-rows/m-p/2350347#M117215</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-29T16:25:12Z</dc:date>
    </item>
    <item>
      <title>Re: Copy input  to multiple rows</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Copy-input-to-multiple-rows/m-p/2350348#M117216</link>
      <description>&lt;P&gt;OK, that is entirely possible using the tutorial I gave you. You will need to look at the looping logic in the tJavaFlex and implement it there.&lt;/P&gt;</description>
      <pubDate>Wed, 29 Nov 2017 17:32:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Copy-input-to-multiple-rows/m-p/2350348#M117216</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-11-29T17:32:31Z</dc:date>
    </item>
  </channel>
</rss>

