<?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 tFilterRow and Boolean values in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tFilterRow-and-Boolean-values/m-p/2320582#M90710</link>
    <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am&amp;nbsp;trying to use tFilterRow to exclude rows where a Boolean column (isName) is False.&amp;nbsp; The GUI does not seem to support Boolean relational so I am attempting to use the Advanced mode.&amp;nbsp; I have tried the following lines in the Advanced editor without success:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;input_row.isName.compareTo(true)&lt;/P&gt; 
&lt;P&gt;input_row.isName == true&lt;/P&gt; 
&lt;P&gt;input_row.isName.equals(true)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;While testing the issue, i noticed that using:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Relational.ISNULL(input_row.isName)? true:input_row.isName.equals(true)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Gives me half the output I want (I get the filter output (value is true) but not the reject output (value is false))&lt;/P&gt; 
&lt;P&gt;What am I doing wrong here?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
    <pubDate>Wed, 27 Jun 2018 19:53:53 GMT</pubDate>
    <dc:creator>EMeany</dc:creator>
    <dc:date>2018-06-27T19:53:53Z</dc:date>
    <item>
      <title>tFilterRow and Boolean values</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFilterRow-and-Boolean-values/m-p/2320582#M90710</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am&amp;nbsp;trying to use tFilterRow to exclude rows where a Boolean column (isName) is False.&amp;nbsp; The GUI does not seem to support Boolean relational so I am attempting to use the Advanced mode.&amp;nbsp; I have tried the following lines in the Advanced editor without success:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;input_row.isName.compareTo(true)&lt;/P&gt; 
&lt;P&gt;input_row.isName == true&lt;/P&gt; 
&lt;P&gt;input_row.isName.equals(true)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;While testing the issue, i noticed that using:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Relational.ISNULL(input_row.isName)? true:input_row.isName.equals(true)&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Gives me half the output I want (I get the filter output (value is true) but not the reject output (value is false))&lt;/P&gt; 
&lt;P&gt;What am I doing wrong here?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you in advance!&lt;/P&gt;</description>
      <pubDate>Wed, 27 Jun 2018 19:53:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFilterRow-and-Boolean-values/m-p/2320582#M90710</guid>
      <dc:creator>EMeany</dc:creator>
      <dc:date>2018-06-27T19:53:53Z</dc:date>
    </item>
    <item>
      <title>Re: tFilterRow and Boolean values</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFilterRow-and-Boolean-values/m-p/2320583#M90711</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/00539000006eQw5AAE"&gt;@EMeany&lt;/A&gt;&amp;nbsp;- I just tried to re-pro your use case like below and was able to filter out records. Let me know if this is what you are trying to achieve.&lt;/P&gt; 
&lt;P&gt;Job Layout -&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tFilterRow-1.JPG" style="width: 536px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lyqq.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/138752i91B5A6E688974BF8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lyqq.jpg" alt="0683p000009Lyqq.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I have two fields as input (isName is defined as bool). Configured tFilterRow like below -&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tFilterRow-2.JPG" style="width: 833px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LyXR.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129034iC14C2DA5141E7059/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LyXR.jpg" alt="0683p000009LyXR.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;And as you could see the output below the rows are filtered accordingly -&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tFilterRow-3.JPG" style="width: 510px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lyqv.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/151340iB5EBAEC2227E15F8/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lyqv.jpg" alt="0683p000009Lyqv.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jun 2018 08:16:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFilterRow-and-Boolean-values/m-p/2320583#M90711</guid>
      <dc:creator>iamabhishek</dc:creator>
      <dc:date>2018-06-28T08:16:25Z</dc:date>
    </item>
    <item>
      <title>Re: tFilterRow and Boolean values</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tFilterRow-and-Boolean-values/m-p/2320584#M90712</link>
      <description>&lt;P&gt;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKrZAAW"&gt;@iamabhishek&lt;/A&gt;,&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you for your reply.&amp;nbsp; For my particular use case I was not able to use the method you suggested (due to a null pointer error). However, I was able to reproduce your job results and have confirmed that tFilterRow works as you suggest.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thank you again for your help.&lt;/P&gt; 
&lt;P&gt;E&lt;/P&gt;</description>
      <pubDate>Tue, 10 Jul 2018 15:20:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tFilterRow-and-Boolean-values/m-p/2320584#M90712</guid>
      <dc:creator>EMeany</dc:creator>
      <dc:date>2018-07-10T15:20:46Z</dc:date>
    </item>
  </channel>
</rss>

