<?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 Fetch most recent by date and process in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Fetch-most-recent-by-date-and-process/m-p/2345145#M112715</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Could you please tell how to design and implement following scenario?&lt;/P&gt;
&lt;P&gt;I need to fetch most recent 4 records(based on Created Date) for every OppID and map those Category values to Category1,&lt;SPAN&gt;Category2,Category3,Category4.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have attached file delimited below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 24 May 2018 15:32:05 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-05-24T15:32:05Z</dc:date>
    <item>
      <title>Fetch most recent by date and process</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fetch-most-recent-by-date-and-process/m-p/2345145#M112715</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;Could you please tell how to design and implement following scenario?&lt;/P&gt;
&lt;P&gt;I need to fetch most recent 4 records(based on Created Date) for every OppID and map those Category values to Category1,&lt;SPAN&gt;Category2,Category3,Category4.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have attached file delimited below.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 15:32:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fetch-most-recent-by-date-and-process/m-p/2345145#M112715</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-24T15:32:05Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch most recent by date and process</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fetch-most-recent-by-date-and-process/m-p/2345146#M112716</link>
      <description>&lt;P&gt;Are you looking for the following output?&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="First41.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LwoC.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130373i566D7AC05F57996F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LwoC.png" alt="0683p000009LwoC.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Regards,&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 16:59:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fetch-most-recent-by-date-and-process/m-p/2345146#M112716</guid>
      <dc:creator>vboppudi</dc:creator>
      <dc:date>2018-05-24T16:59:01Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch most recent by date and process</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fetch-most-recent-by-date-and-process/m-p/2345147#M112717</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Veeru,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Yes Correct Could you please let me know how to do it.&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;Appreciate your help.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 17:58:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fetch-most-recent-by-date-and-process/m-p/2345147#M112717</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-05-24T17:58:32Z</dc:date>
    </item>
    <item>
      <title>Re: Fetch most recent by date and process</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Fetch-most-recent-by-date-and-process/m-p/2345148#M112718</link>
      <description>&lt;P&gt;HI,&lt;/P&gt; 
&lt;P&gt;Job flow is like screen shot i provided in previous post.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;First convert createDate from string to date using tMap.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;By using tSort sort data based on PorID and createDate.&lt;/P&gt; 
&lt;P&gt;Create sequence for each ProID and filter records &amp;gt;4. Means you are going o consider on first four records for each id.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Using tMap create 4 new fields.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="First42.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LwsX.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158112iD2146570EBCBC2DD/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LwsX.png" alt="0683p000009LwsX.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="First43.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LxEJ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/155147i2F35DEFEBFBE0B7F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LxEJ.png" alt="0683p000009LxEJ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;Regards,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 18:30:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Fetch-most-recent-by-date-and-process/m-p/2345148#M112718</guid>
      <dc:creator>vboppudi</dc:creator>
      <dc:date>2018-05-24T18:30:45Z</dc:date>
    </item>
  </channel>
</rss>

