<?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: Create new row in processing using previous rows data. in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Create-new-row-in-processing-using-previous-rows-data/m-p/2348549#M115666</link>
    <description>&lt;P&gt;in the variables take first variable as prev_variable and second as cur_variable&lt;/P&gt;&lt;P&gt;assign your source input to cur_variable and then Var.cur_variable to the prev_variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now you can map both your prev_variable nd cur_variable to the target.&lt;/P&gt;&lt;P&gt;for the first run prev_variable will be null and cur_variable will have value and for second run you will see the value in cur_variable moved to prev_variable and then new value in cur_variable&lt;/P&gt;</description>
    <pubDate>Wed, 16 Jun 2021 04:06:08 GMT</pubDate>
    <dc:creator>veeaar</dc:creator>
    <dc:date>2021-06-16T04:06:08Z</dc:date>
    <item>
      <title>Create new row in processing using previous rows data.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-new-row-in-processing-using-previous-rows-data/m-p/2348547#M115664</link>
      <description>&lt;P&gt;Dear Talend Community,&lt;/P&gt;&lt;P&gt;Good day.&lt;/P&gt;&lt;P&gt;Have a requirement to create a new row in my processing and use the records from previous rows input for the new row. &lt;/P&gt;&lt;P&gt;&lt;U&gt;Input:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;Column1     Column2&lt;/P&gt;&lt;P&gt;A                  remaining A&lt;/P&gt;&lt;P&gt;A                  unused A&lt;/P&gt;&lt;P&gt;&lt;U&gt;Output:&lt;/U&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Column1      Column2&lt;/P&gt;&lt;P&gt;A                   remaining A&lt;/P&gt;&lt;P&gt;A                   unused A&lt;/P&gt;&lt;P&gt;A                   remaining A|unusedA&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Could you help on this.&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;ThankYou,&lt;/P&gt;&lt;P&gt;Sakthi&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 00:03:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-new-row-in-processing-using-previous-rows-data/m-p/2348547#M115664</guid>
      <dc:creator>SSV1</dc:creator>
      <dc:date>2024-11-16T00:03:16Z</dc:date>
    </item>
    <item>
      <title>Re: Create new row in processing using previous rows data.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-new-row-in-processing-using-previous-rows-data/m-p/2348548#M115665</link>
      <description>&lt;P&gt;is the input and output shown above is in right format?&lt;/P&gt;&lt;P&gt;i am not clear on issue you mentioned but maintaining current and previous values can be achieved with below.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 04:03:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-new-row-in-processing-using-previous-rows-data/m-p/2348548#M115665</guid>
      <dc:creator>veeaar</dc:creator>
      <dc:date>2021-06-16T04:03:35Z</dc:date>
    </item>
    <item>
      <title>Re: Create new row in processing using previous rows data.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-new-row-in-processing-using-previous-rows-data/m-p/2348549#M115666</link>
      <description>&lt;P&gt;in the variables take first variable as prev_variable and second as cur_variable&lt;/P&gt;&lt;P&gt;assign your source input to cur_variable and then Var.cur_variable to the prev_variable.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;now you can map both your prev_variable nd cur_variable to the target.&lt;/P&gt;&lt;P&gt;for the first run prev_variable will be null and cur_variable will have value and for second run you will see the value in cur_variable moved to prev_variable and then new value in cur_variable&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 04:06:08 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-new-row-in-processing-using-previous-rows-data/m-p/2348549#M115666</guid>
      <dc:creator>veeaar</dc:creator>
      <dc:date>2021-06-16T04:06:08Z</dc:date>
    </item>
    <item>
      <title>Re: Create new row in processing using previous rows data.</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Create-new-row-in-processing-using-previous-rows-data/m-p/2348550#M115667</link>
      <description>&lt;P&gt;Hi veeaar,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for the response. &lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apologies. Should have made it little bit detailed. Below is the detailed info. Not sure how to make two rows in to one and keep on merging.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;B&gt;&lt;U&gt;Input:&lt;/U&gt;&lt;/B&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Col1     Col2                   Col3    Col4&lt;/P&gt;&lt;P&gt;A          remaining A.         5         20&lt;/P&gt;&lt;P&gt;A.         unused A               1         -8&lt;/P&gt;&lt;P&gt;A          remaining A          3          5&lt;/P&gt;&lt;P&gt;A          unused A               5         -15&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Step1 Output: (Merge two columns using col1 same category and deduct (5-1)=4 and    &lt;/P&gt;&lt;P&gt;                        sum(20,-8)=12&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Col1     Col2                   Col3    Col4&lt;/P&gt;&lt;P&gt;A          out1                      4         12&lt;/P&gt;&lt;P&gt;A          remaining A          3          5&lt;/P&gt;&lt;P&gt;A          unused A               5         -15&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This step repeats until one single row. Input might have any number of rows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know if you need more info.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ThankYou,&lt;/P&gt;&lt;P&gt;Sakthi&lt;/P&gt;</description>
      <pubDate>Wed, 16 Jun 2021 12:33:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Create-new-row-in-processing-using-previous-rows-data/m-p/2348550#M115667</guid>
      <dc:creator>SSV1</dc:creator>
      <dc:date>2021-06-16T12:33:53Z</dc:date>
    </item>
  </channel>
</rss>

