<?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: Context variable as filter in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Context-variable-as-filter/m-p/2274311#M51024</link>
    <description>you can do it using tMap configure context variable in filter expression and use something like below.&amp;nbsp; 
&lt;BR /&gt; 
&lt;PRE&gt;row1.slno.equals(context.parameter) || context.parameter.equals("Default")&lt;/PRE&gt;</description>
    <pubDate>Thu, 09 Apr 2015 08:21:14 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-04-09T08:21:14Z</dc:date>
    <item>
      <title>Context variable as filter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-variable-as-filter/m-p/2274310#M51023</link>
      <description>I would like to use context variables to filter the output records on the basis of the condition which I put in context variable.&amp;nbsp;&lt;BR /&gt;To give and example.&lt;BR /&gt;My input file:&lt;BR /&gt;SlNo, Code&lt;BR /&gt;1,A&lt;BR /&gt;2,A&lt;BR /&gt;3,B&lt;BR /&gt;4,B&lt;BR /&gt;Now if my filter criteria of context variable say filter_code is A then only output records with Code A should be in output, and if B then only with Code B and if default then all the records</description>
      <pubDate>Wed, 08 Apr 2015 18:19:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-variable-as-filter/m-p/2274310#M51023</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2015-04-08T18:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Context variable as filter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-variable-as-filter/m-p/2274311#M51024</link>
      <description>you can do it using tMap configure context variable in filter expression and use something like below.&amp;nbsp; 
&lt;BR /&gt; 
&lt;PRE&gt;row1.slno.equals(context.parameter) || context.parameter.equals("Default")&lt;/PRE&gt;</description>
      <pubDate>Thu, 09 Apr 2015 08:21:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-variable-as-filter/m-p/2274311#M51024</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-09T08:21:14Z</dc:date>
    </item>
    <item>
      <title>Re: Context variable as filter</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Context-variable-as-filter/m-p/2274312#M51025</link>
      <description>Will "Default" work &amp;nbsp;as it is not a value in the column !!</description>
      <pubDate>Thu, 09 Apr 2015 10:46:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Context-variable-as-filter/m-p/2274312#M51025</guid>
      <dc:creator>sunbaj</dc:creator>
      <dc:date>2015-04-09T10:46:45Z</dc:date>
    </item>
  </channel>
</rss>

