<?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: expression filter in  tMap in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/expression-filter-in-tMap/m-p/2291874#M65010</link>
    <description>&lt;P&gt;Set the "Catch output reject" to false. There is no point to this setting since you only have one output. This option will work if you have more than 1 output and all it does is catch the records that were not output by the other output.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Edit: I see&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKj7AAG"&gt;@TRF&lt;/A&gt;&amp;nbsp;posted this.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My other guess would be that your expression....&lt;/P&gt; 
&lt;PRE&gt;row11.Schema.equals("IBCDM")  &amp;amp;&amp;amp; row11.Has_PK_Value.equals("NO") == true&lt;/PRE&gt; 
&lt;P&gt;...is failing because of case sensitivity of your data. What does "Has_PK_Value" hold? What does "Schema" hold?&lt;/P&gt;</description>
    <pubDate>Mon, 26 Feb 2018 17:05:55 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-02-26T17:05:55Z</dc:date>
    <item>
      <title>expression filter in  tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/expression-filter-in-tMap/m-p/2291871#M65007</link>
      <description>&lt;P&gt;Hello&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I am trying build a job where a list of tables names are loaded from a csv file and for each loaded row a tMap component determines which database and schema to redirect.&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tmap1.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lsej.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/128930i92210F8E3A5090C3/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lsej.png" alt="0683p000009Lsej.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;as you can see, the table names are loaded from the csv file, however the tMap is not performing the re-direction / filtering .&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tmap2.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LsLB.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154790i273E4A7F4540B85B/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LsLB.png" alt="0683p000009LsLB.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So inside the tmap, I am trying to say:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;If Schema equals 'IBCDM' AND Has_PK_Value equals "NO" then select the row which effectively will be the IBCDM output coming out of the tmap.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;However the tMap component is not filtering the rows that match that condition.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;I checked the data in the csv file and they do exist and also I debugged the job with tlogrow and I can see the data being loaded.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Am I doing something wrong ?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;PS I also tried the following expressions&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;row11.Schema.equals("IBCDM")&amp;nbsp; &amp;amp;&amp;amp; row11.Has_PK_Value.equals("NO") == 0&amp;nbsp;&amp;nbsp; This gives syntax error&lt;/P&gt; 
&lt;P&gt;row11.Schema.equals("IBCDM")&amp;nbsp; &amp;amp;&amp;amp; row11.Has_PK_Value.equals("NO") == true. This still does not filter rows&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 08:38:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/expression-filter-in-tMap/m-p/2291871#M65007</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T08:38:11Z</dc:date>
    </item>
    <item>
      <title>Re: expression filter in  tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/expression-filter-in-tMap/m-p/2291872#M65008</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Try to uncheck the "Catch output reject" option.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 16:56:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/expression-filter-in-tMap/m-p/2291872#M65008</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-02-26T16:56:42Z</dc:date>
    </item>
    <item>
      <title>Re: expression filter in  tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/expression-filter-in-tMap/m-p/2291873#M65009</link>
      <description>&lt;P&gt;tried it and still no output....&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 17:00:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/expression-filter-in-tMap/m-p/2291873#M65009</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-26T17:00:46Z</dc:date>
    </item>
    <item>
      <title>Re: expression filter in  tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/expression-filter-in-tMap/m-p/2291874#M65010</link>
      <description>&lt;P&gt;Set the "Catch output reject" to false. There is no point to this setting since you only have one output. This option will work if you have more than 1 output and all it does is catch the records that were not output by the other output.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Edit: I see&amp;nbsp;&lt;A href="https://community.qlik.com/s/profile/0053p000007LKj7AAG"&gt;@TRF&lt;/A&gt;&amp;nbsp;posted this.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;My other guess would be that your expression....&lt;/P&gt; 
&lt;PRE&gt;row11.Schema.equals("IBCDM")  &amp;amp;&amp;amp; row11.Has_PK_Value.equals("NO") == true&lt;/PRE&gt; 
&lt;P&gt;...is failing because of case sensitivity of your data. What does "Has_PK_Value" hold? What does "Schema" hold?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 17:05:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/expression-filter-in-tMap/m-p/2291874#M65010</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-26T17:05:55Z</dc:date>
    </item>
    <item>
      <title>Re: expression filter in  tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/expression-filter-in-tMap/m-p/2291875#M65011</link>
      <description>&lt;P&gt;I tried that but still no output...:-(&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 17:09:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/expression-filter-in-tMap/m-p/2291875#M65011</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-26T17:09:34Z</dc:date>
    </item>
    <item>
      <title>Re: expression filter in  tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/expression-filter-in-tMap/m-p/2291876#M65012</link>
      <description>&lt;P&gt;Can you copy and paste some of your file data so that we can see?&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 17:11:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/expression-filter-in-tMap/m-p/2291876#M65012</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-26T17:11:01Z</dc:date>
    </item>
    <item>
      <title>Re: expression filter in  tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/expression-filter-in-tMap/m-p/2291877#M65013</link>
      <description>&lt;P&gt;RESOLVED !&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks Guys, looks like the format of my CSV got screwed up somehow and it was not loading the data correctly into the schema.&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Corrected the data and re-run and now I am able to load the whole file and filter works in the tMap:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tmap3.png" style="width: 999px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Ls1e.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/130719iB70695125E353C0F/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Ls1e.png" alt="0683p000009Ls1e.png" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;So one question, if I want to add additional outputs to the tmap that are based on a different conditions, then I will need to set the 'catch output reject' to TRUE for every output ?&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 17:28:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/expression-filter-in-tMap/m-p/2291877#M65013</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-26T17:28:15Z</dc:date>
    </item>
    <item>
      <title>Re: expression filter in  tMap</title>
      <link>https://community.qlik.com/t5/Talend-Studio/expression-filter-in-tMap/m-p/2291878#M65014</link>
      <description>Set "catch output reject" to true when the filter is on the input (left) side of the tMap to catch the records which don't match with your filter.&lt;BR /&gt;Else, on the output side you may have as many output flows as desired with each its proper filter.</description>
      <pubDate>Mon, 26 Feb 2018 17:38:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/expression-filter-in-tMap/m-p/2291878#M65014</guid>
      <dc:creator>TRF</dc:creator>
      <dc:date>2018-02-26T17:38:53Z</dc:date>
    </item>
  </channel>
</rss>

