<?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 How to execute an expression iteratively on input rows? in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/How-to-execute-an-expression-iteratively-on-input-rows/m-p/2344612#M112247</link>
    <description>&lt;P&gt;Performing ETL on a dataset, I have obtained the "yyyyMM" column as "MonthYear", and total "CB" in that month.&lt;/P&gt; 
&lt;P&gt;Now,&amp;nbsp;&lt;SPAN&gt;I want to find out total&amp;nbsp;CB of previous 3 months, for each month.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;In SQL, I can do that by a nested subquery, or using self-join. How do I execute this query on the current Talend job without having to store the rows as a table in a (MySQL) DB?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;My other option is to use Talend components to carry out the remaining steps.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;But are there any components in Talend where I can extract rows iteratively and perform aggregation on them? Or some way to perform join and aggregation both in tMap?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I have attempted this so far ... but how do I get the "test" expression to be evaluated iteratively?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot (7).png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LxKP.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129668i8EE9C54471BB1D53/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LxKP.png" alt="0683p000009LxKP.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 24 May 2018 13:05:33 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-05-24T13:05:33Z</dc:date>
    <item>
      <title>How to execute an expression iteratively on input rows?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-execute-an-expression-iteratively-on-input-rows/m-p/2344612#M112247</link>
      <description>&lt;P&gt;Performing ETL on a dataset, I have obtained the "yyyyMM" column as "MonthYear", and total "CB" in that month.&lt;/P&gt; 
&lt;P&gt;Now,&amp;nbsp;&lt;SPAN&gt;I want to find out total&amp;nbsp;CB of previous 3 months, for each month.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;In SQL, I can do that by a nested subquery, or using self-join. How do I execute this query on the current Talend job without having to store the rows as a table in a (MySQL) DB?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;My other option is to use Talend components to carry out the remaining steps.&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;But are there any components in Talend where I can extract rows iteratively and perform aggregation on them? Or some way to perform join and aggregation both in tMap?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;I have attempted this so far ... but how do I get the "test" expression to be evaluated iteratively?&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="Screenshot (7).png" style="width: 400px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LxKP.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129668i8EE9C54471BB1D53/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LxKP.png" alt="0683p000009LxKP.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 13:05:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-execute-an-expression-iteratively-on-input-rows/m-p/2344612#M112247</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-24T13:05:33Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute an expression iteratively on input rows?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-execute-an-expression-iteratively-on-input-rows/m-p/2344613#M112248</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Amy you can try tHashoutput. First load derived data in tHasoutput and use that as source usingtHashInput and do you required calculations.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 15:48:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-execute-an-expression-iteratively-on-input-rows/m-p/2344613#M112248</guid>
      <dc:creator>vboppudi</dc:creator>
      <dc:date>2018-05-24T15:48:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to execute an expression iteratively on input rows?</title>
      <link>https://community.qlik.com/t5/Talend-Studio/How-to-execute-an-expression-iteratively-on-input-rows/m-p/2344614#M112249</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLseAAG"&gt;@vboppudi&lt;/A&gt;&amp;nbsp;But which query component can I use on the tHashxxxx components?&lt;/P&gt;</description>
      <pubDate>Fri, 25 May 2018 06:05:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/How-to-execute-an-expression-iteratively-on-input-rows/m-p/2344614#M112249</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-25T06:05:57Z</dc:date>
    </item>
  </channel>
</rss>

