<?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: conditions to filter record in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/conditions-to-filter-record/m-p/2368197#M131490</link>
    <description>&lt;P&gt;this is not working...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my case i did&amp;nbsp;&lt;/P&gt;
&lt;P&gt;row1.emp_comp_code .equals(row2.comp_code)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and its working ...why???&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And what if i want to insert more than one condition&lt;/P&gt;</description>
    <pubDate>Mon, 23 Oct 2017 12:23:51 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-10-23T12:23:51Z</dc:date>
    <item>
      <title>conditions to filter record</title>
      <link>https://community.qlik.com/t5/Talend-Studio/conditions-to-filter-record/m-p/2368195#M131488</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have two table, i have already jioned it&amp;nbsp; on table1.id= table2.id&lt;/P&gt;&lt;P&gt;But now i want record&lt;/P&gt;&lt;P&gt;where&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;table1.company_code = table2.company_code&lt;/P&gt;&lt;P&gt;otherwise not&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So how can i add where condition in talend&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please reply.....&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;</description>
      <pubDate>Wed, 04 Oct 2017 12:39:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/conditions-to-filter-record/m-p/2368195#M131488</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-04T12:39:54Z</dc:date>
    </item>
    <item>
      <title>Re: conditions to filter record</title>
      <link>https://community.qlik.com/t5/Talend-Studio/conditions-to-filter-record/m-p/2368196#M131489</link>
      <description>&lt;P&gt;Hi Anurag140890,&lt;/P&gt;
&lt;P&gt;I depends on how you have joined these two tables. If you have joined them using tMap then its straight forward, you can set the condition in the output expression filter.&lt;/P&gt;
&lt;P&gt;I have attached the screenshot for your reference.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Abhishek&lt;/P&gt;&lt;BR /&gt;&lt;A href="https://community.qlik.com/legacyfs/online/tlnd_dw_files/0683p000009Lr6t"&gt;OutputExpressionFilter.PNG&lt;/A&gt;</description>
      <pubDate>Thu, 05 Oct 2017 06:42:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/conditions-to-filter-record/m-p/2368196#M131489</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-05T06:42:40Z</dc:date>
    </item>
    <item>
      <title>Re: conditions to filter record</title>
      <link>https://community.qlik.com/t5/Talend-Studio/conditions-to-filter-record/m-p/2368197#M131490</link>
      <description>&lt;P&gt;this is not working...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;In my case i did&amp;nbsp;&lt;/P&gt;
&lt;P&gt;row1.emp_comp_code .equals(row2.comp_code)&amp;nbsp;&lt;/P&gt;
&lt;P&gt;and its working ...why???&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And what if i want to insert more than one condition&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 12:23:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/conditions-to-filter-record/m-p/2368197#M131490</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-23T12:23:51Z</dc:date>
    </item>
    <item>
      <title>Re: conditions to filter record</title>
      <link>https://community.qlik.com/t5/Talend-Studio/conditions-to-filter-record/m-p/2368198#M131491</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;It depends on the type of the fields that you are comparing.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If the type is String you have to compare it using string1.equals(string2) (Although it would be better if you use equalsIgnoreCase in place of equals).&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If type is Integer then you have to compare them like Integer1 == Integer2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And mutiple conditions you can insert using &amp;amp;&amp;amp; or || in the expression filter.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For e.g.&amp;nbsp;&amp;nbsp;&lt;SPAN&gt;string1.equals(string2)&amp;nbsp; &amp;amp;&amp;amp;&amp;nbsp;&amp;nbsp;Integer1 == Integer2&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this clears your doubt.&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;&lt;SPAN&gt;Best Regards,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Abhishek&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Oct 2017 12:43:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/conditions-to-filter-record/m-p/2368198#M131491</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-23T12:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: conditions to filter record</title>
      <link>https://community.qlik.com/t5/Talend-Studio/conditions-to-filter-record/m-p/2368199#M131492</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;It depends on the type of fields that you are comparing.&lt;/P&gt;
&lt;P&gt;If type is String you should compare it using String1.equals(String2) (Better to use equalsIgnoreCase).&lt;/P&gt;
&lt;P&gt;If type is Integer you should do it like Integer1 == Integer2.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To add multiple conditions in the expression filter you can use &amp;amp;&amp;amp; and ||.&lt;/P&gt;
&lt;P&gt;For Example - String1.equalsIgnoreCase(String2) &amp;amp;&amp;amp; Integer1 == Integer2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hope this answers your question.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Best Regards,&lt;/P&gt;
&lt;P&gt;Abhishek&lt;/P&gt;</description>
      <pubDate>Tue, 24 Oct 2017 07:40:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/conditions-to-filter-record/m-p/2368199#M131492</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-24T07:40:19Z</dc:date>
    </item>
  </channel>
</rss>

