<?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: Filter data in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Filter-data/m-p/2225641#M17857</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp;You can do as below.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;a) Merge both data (since schema is same) using tUnite Component&lt;/P&gt; 
&lt;P&gt;b) Pass the output of tUnite to tUniqrow and select ID and country as key columns (columns to select unique rows).&lt;/P&gt; 
&lt;P&gt;c) Pass the unique component output to desired output for further processing.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 795px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2HC.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150336iF548C2802C5E028D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2HC.png" alt="0683p000009M2HC.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Jan 2019 10:27:32 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2019-01-29T10:27:32Z</dc:date>
    <item>
      <title>Filter data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filter-data/m-p/2225640#M17856</link>
      <description>&lt;P&gt;&lt;BR /&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have 2 files anf each file has data like below&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;File 1:&lt;/P&gt;&lt;P&gt;id|country|name&lt;/P&gt;&lt;P&gt;1|US|A&lt;/P&gt;&lt;P&gt;1|US|B&lt;/P&gt;&lt;P&gt;1|US|c&lt;/P&gt;&lt;P&gt;File 2:&lt;/P&gt;&lt;P&gt;id|country|name&lt;/P&gt;&lt;P&gt;1|US|A&lt;/P&gt;&lt;P&gt;1|US|B&lt;/P&gt;&lt;P&gt;1|UK|c&lt;/P&gt;&lt;P&gt;my output should be:&lt;/P&gt;&lt;P&gt;id|country|name&lt;/P&gt;&lt;P&gt;1|US|A&lt;/P&gt;&lt;P&gt;1|US|B&lt;/P&gt;&lt;P&gt;1|UK|c&lt;/P&gt;&lt;P&gt;1|US|c&lt;/P&gt;&lt;P&gt;If my Id's match and country column is different , my output should have both the records from file 1 and file 2&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone suggest how to handle it&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;lmit&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 10:04:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filter-data/m-p/2225640#M17856</guid>
      <dc:creator>lmit</dc:creator>
      <dc:date>2019-01-29T10:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Filter data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filter-data/m-p/2225641#M17857</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp;You can do as below.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;a) Merge both data (since schema is same) using tUnite Component&lt;/P&gt; 
&lt;P&gt;b) Pass the output of tUnite to tUniqrow and select ID and country as key columns (columns to select unique rows).&lt;/P&gt; 
&lt;P&gt;c) Pass the unique component output to desired output for further processing.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 795px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M2HC.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/150336iF548C2802C5E028D/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M2HC.png" alt="0683p000009M2HC.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 10:27:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filter-data/m-p/2225641#M17857</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-29T10:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Filter data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filter-data/m-p/2225642#M17858</link>
      <description>&lt;P&gt;Thanks Nikhil Thampi for your reply&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;will try this method&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;lmit&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 14:23:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filter-data/m-p/2225642#M17858</guid>
      <dc:creator>lmit</dc:creator>
      <dc:date>2019-01-29T14:23:55Z</dc:date>
    </item>
    <item>
      <title>Re: Filter data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filter-data/m-p/2225643#M17859</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; It should work &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp; &amp;nbsp; Please remember to mark the topic as resolved as it will help other Talend community members. Kudos are also welcome &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Warm Regards,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Nikhil Thampi&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jan 2019 14:26:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filter-data/m-p/2225643#M17859</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-29T14:26:56Z</dc:date>
    </item>
    <item>
      <title>Re: Filter data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filter-data/m-p/2225644#M17860</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It worked but I missed one logic&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When the country codes are matching the amount in the old file should append "-"sign&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Its kind of CDC logic , I will be getting only one file then I need to lookup with the old file&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;lmit&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 05:26:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filter-data/m-p/2225644#M17860</guid>
      <dc:creator>lmit</dc:creator>
      <dc:date>2019-01-30T05:26:19Z</dc:date>
    </item>
    <item>
      <title>Re: Filter data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filter-data/m-p/2225645#M17861</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; In that case, you need to use a different strategy. You need to use the new file as the main record flow and the old file as the lookup flow. Then you need to do the inner join between both files.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;For all the records which have matching during old records, you can do the append sign. For all the records which do not have any match (which can be segregated by inner join reject as true option in tMap output flow) , you can pass to a different file.&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;Once this mechanism is done, you can unite both files and remove any duplicate value and do the downstream processing.&lt;/P&gt; 
&lt;P&gt;&lt;BR /&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 05:53:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filter-data/m-p/2225645#M17861</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-30T05:53:29Z</dc:date>
    </item>
    <item>
      <title>Re: Filter data</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filter-data/m-p/2225646#M17862</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LLyDAAW"&gt;@lmit&lt;/A&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Could you please mark the topic as closed since your original query in the post has been resolved?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Warm Regards,&lt;BR /&gt;Nikhil Thampi&lt;/P&gt; 
&lt;P&gt;Please appreciate our Talend community members by giving Kudos for sharing their time for your query. If your query is answered, please mark the topic as resolved &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Jan 2019 09:29:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filter-data/m-p/2225646#M17862</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-01-30T09:29:25Z</dc:date>
    </item>
  </channel>
</rss>

