<?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 rows from file with values from database (With tFilterRow and tJDBCRow) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Filter-rows-from-file-with-values-from-database-With-tFilterRow/m-p/2297542#M70105</link>
    <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;You can use following solution&lt;/P&gt;
&lt;P&gt;tDBInput -------&amp;gt;tFlowToIterate ---&amp;gt; tFileInputDelimeted -----&amp;gt; tFilterRow -----&amp;gt;tfileOutputDelemited&lt;/P&gt;
&lt;P&gt;In tFilterRow use condition as id&amp;nbsp;Equals&amp;nbsp;((Integer)globalMap.get("row2.id"))&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and tFileOutputDelimeted in append mode&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LthP"&gt;Capture.JPG&lt;/A&gt;</description>
    <pubDate>Wed, 08 Aug 2018 14:33:15 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-08-08T14:33:15Z</dc:date>
    <item>
      <title>Filter rows from file with values from database (With tFilterRow and tJDBCRow)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filter-rows-from-file-with-values-from-database-With-tFilterRow/m-p/2297541#M70104</link>
      <description>&lt;P&gt;Hello!&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have a small problem using tFilterRow component in TOS Data Integration (version 6.5.1.).&lt;/P&gt; 
&lt;P&gt;I have two files that output into a database table. I need to filter the second filed based on values from the first file. My job currently looks like this (non-essential parts ommited)&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RemoteDesktopManagerFree_2018-08-08_10-27-21.png" style="width: 356px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LznQ.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/145661iF7B046D532438709/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LznQ.png" alt="0683p000009LznQ.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My thinking is: Filter the first file base on set values in the file (this works fine).&lt;/P&gt; 
&lt;P&gt;Then filter the second file based on the output values of the first file (that has already been filtered). The tJDBCRow component has a SQL-query "select distinct id from table" that should be used as the filter for the second file.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Any help would be greatly appreciated! &lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;BR. Smam&lt;/P&gt;</description>
      <pubDate>Wed, 08 Aug 2018 08:33:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filter-rows-from-file-with-values-from-database-With-tFilterRow/m-p/2297541#M70104</guid>
      <dc:creator>Smamm</dc:creator>
      <dc:date>2018-08-08T08:33:52Z</dc:date>
    </item>
    <item>
      <title>Re: Filter rows from file with values from database (With tFilterRow and tJDBCRow)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Filter-rows-from-file-with-values-from-database-With-tFilterRow/m-p/2297542#M70105</link>
      <description>&lt;P&gt;Hi ,&lt;/P&gt;
&lt;P&gt;You can use following solution&lt;/P&gt;
&lt;P&gt;tDBInput -------&amp;gt;tFlowToIterate ---&amp;gt; tFileInputDelimeted -----&amp;gt; tFilterRow -----&amp;gt;tfileOutputDelemited&lt;/P&gt;
&lt;P&gt;In tFilterRow use condition as id&amp;nbsp;Equals&amp;nbsp;((Integer)globalMap.get("row2.id"))&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and tFileOutputDelimeted in append mode&amp;nbsp;&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009LthP"&gt;Capture.JPG&lt;/A&gt;</description>
      <pubDate>Wed, 08 Aug 2018 14:33:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Filter-rows-from-file-with-values-from-database-With-tFilterRow/m-p/2297542#M70105</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-08-08T14:33:15Z</dc:date>
    </item>
  </channel>
</rss>

