<?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 file based on records on table in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Filter-file-based-on-records-on-table/m-p/2211769#M9674</link>
    <description>&lt;P&gt;What is the join condition logic&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 06 Dec 2018 14:20:59 GMT</pubDate>
    <dc:creator>Karuetl</dc:creator>
    <dc:date>2018-12-06T14:20:59Z</dc:date>
    <item>
      <title>Filter file based on records on table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filter-file-based-on-records-on-table/m-p/2211764#M9669</link>
      <description>&lt;P&gt;I have 10000 rows for example from table&amp;nbsp;&lt;/P&gt;&lt;P&gt;And I have another flow which is input file and i want to filter out those ID (From above step) that are present in the file&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Example&amp;nbsp;&lt;/P&gt;&lt;P&gt;--------------&lt;/P&gt;&lt;P&gt;Table A&amp;nbsp;&lt;/P&gt;&lt;P&gt;Select ID from Table A ;&lt;/P&gt;&lt;P&gt;123&lt;/P&gt;&lt;P&gt;672&lt;/P&gt;&lt;P&gt;888&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Input File&lt;/P&gt;&lt;P&gt;abcve,672,newjersey&lt;/P&gt;&lt;P&gt;jkuijk,999,california&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;output should be&amp;nbsp;&lt;/P&gt;&lt;P&gt;File&lt;/P&gt;&lt;P&gt;jkuijk,999,california&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 14:54:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filter-file-based-on-records-on-table/m-p/2211764#M9669</guid>
      <dc:creator>Karuetl</dc:creator>
      <dc:date>2018-12-05T14:54:35Z</dc:date>
    </item>
    <item>
      <title>Re: Filter file based on records on table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filter-file-based-on-records-on-table/m-p/2211765#M9670</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Depending on the database in use, upload the ID from the file into a temporary table and then select the rows from the database table A where they do/do not exist in the temporary table.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;David&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 15:52:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filter-file-based-on-records-on-table/m-p/2211765#M9670</guid>
      <dc:creator>David_Beaty</dc:creator>
      <dc:date>2018-12-05T15:52:34Z</dc:date>
    </item>
    <item>
      <title>Re: Filter file based on records on table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filter-file-based-on-records-on-table/m-p/2211766#M9671</link>
      <description>&lt;P&gt;There are multiple files with different schema among each and those has ID&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to each file check with those ID from the table and then filter out&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 05 Dec 2018 16:08:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filter-file-based-on-records-on-table/m-p/2211766#M9671</guid>
      <dc:creator>Karuetl</dc:creator>
      <dc:date>2018-12-05T16:08:06Z</dc:date>
    </item>
    <item>
      <title>Re: Filter file based on records on table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filter-file-based-on-records-on-table/m-p/2211767#M9672</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;Try performing&amp;nbsp; joins on table and input file.&lt;/P&gt; 
&lt;P&gt;Apply filter on second tmap and filter the values that have null values.&amp;nbsp;&lt;STRONG&gt; out1.ID_1 == null&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="data_validation.PNG" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1H7.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/131929iC056FDCA48D43749/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1H7.png" alt="0683p000009M1H7.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; 
&lt;P&gt;Ganshyam Patel&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 11:34:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filter-file-based-on-records-on-table/m-p/2211767#M9672</guid>
      <dc:creator>Ganshyam</dc:creator>
      <dc:date>2018-12-06T11:34:20Z</dc:date>
    </item>
    <item>
      <title>Re: Filter file based on records on table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filter-file-based-on-records-on-table/m-p/2211768#M9673</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LMjvAAG"&gt;@Karuetl&lt;/A&gt;&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LOL8AAO"&gt;@Ganshyam&lt;/A&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;You can do it in single tmap as shown below (you can remove tLogrow since it has been added for testing)&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 651px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1LX.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143648i295AC2F636B0AD34/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1LX.png" alt="0683p000009M1LX.png" /&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; 
&lt;P&gt;The output is as shown below.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 627px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1BT.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/135264i985C5D9B68185E08/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1BT.png" alt="0683p000009M1BT.png" /&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; 
&lt;P&gt;The trick lies in using the inner join and catching the rejected inner join records from the tMap.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-center" image-alt="image.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M1Lc.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/143813i5270280748ED11DC/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M1Lc.png" alt="0683p000009M1Lc.png" /&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; 
&lt;P&gt;If the answer has helped you, could you please mark the topic s resolved? 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>Thu, 06 Dec 2018 12:55:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filter-file-based-on-records-on-table/m-p/2211768#M9673</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-12-06T12:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Filter file based on records on table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filter-file-based-on-records-on-table/m-p/2211769#M9674</link>
      <description>&lt;P&gt;What is the join condition logic&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 14:20:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filter-file-based-on-records-on-table/m-p/2211769#M9674</guid>
      <dc:creator>Karuetl</dc:creator>
      <dc:date>2018-12-06T14:20:59Z</dc:date>
    </item>
    <item>
      <title>Re: Filter file based on records on table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filter-file-based-on-records-on-table/m-p/2211770#M9675</link>
      <description>You have declared the column name and you know the position , in my case I dont know the position and i read the file entire row as string</description>
      <pubDate>Thu, 06 Dec 2018 14:21:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filter-file-based-on-records-on-table/m-p/2211770#M9675</guid>
      <dc:creator>Karuetl</dc:creator>
      <dc:date>2018-12-06T14:21:48Z</dc:date>
    </item>
    <item>
      <title>Re: Filter file based on records on table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filter-file-based-on-records-on-table/m-p/2211771#M9676</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use tfileinputfullrow component to read entire row as a string and then split into 3 field using textractdelimited component and further you can continue with joins.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 14:48:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filter-file-based-on-records-on-table/m-p/2211771#M9676</guid>
      <dc:creator>Ganshyam</dc:creator>
      <dc:date>2018-12-06T14:48:21Z</dc:date>
    </item>
    <item>
      <title>Re: Filter file based on records on table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filter-file-based-on-records-on-table/m-p/2211772#M9677</link>
      <description>&lt;P&gt;As i mentioned its dynamic columns , it is not fixed like 3 columns or so&amp;nbsp;&lt;/P&gt;&lt;P&gt;one file can have 10 columns other file can have 6 columns&lt;/P&gt;</description>
      <pubDate>Thu, 06 Dec 2018 14:49:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filter-file-based-on-records-on-table/m-p/2211772#M9677</guid>
      <dc:creator>Karuetl</dc:creator>
      <dc:date>2018-12-06T14:49:34Z</dc:date>
    </item>
    <item>
      <title>Re: Filter file based on records on table</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filter-file-based-on-records-on-table/m-p/2211773#M9678</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Not sure , but you can try using &lt;STRONG&gt;tjavarow&lt;/STRONG&gt; and some java code to handle the dynamic input column.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Ganshyam Patel&lt;/P&gt;</description>
      <pubDate>Tue, 11 Dec 2018 13:59:44 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filter-file-based-on-records-on-table/m-p/2211773#M9678</guid>
      <dc:creator>Ganshyam</dc:creator>
      <dc:date>2018-12-11T13:59:44Z</dc:date>
    </item>
  </channel>
</rss>

