<?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 Qlik Replicate Filter Expression in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Filter-Expression/m-p/2432135#M10195</link>
    <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;I wanted to apply the below filter on replicate but dont know whats the correct syntax for that , can someone help me on this&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider ed bpp bpq bpr bps bpt bpu bpv bpw bpx bpy bpz bqa bqb bqc bqd bqe bqf bqg bqh bqi bqj bqk bql bqm bqn bqo bqp bqq bqr bqs bqt bqu bqv bqw"&gt;select * from CMS_BDR_AGG_GROUP where keysum not in (select distinct '%X'||agg_id||'X%' as keysum from CMS_REF_AGG where (agg_type=3 and NAME='HBCA') OR (agg_type=2 and NAME like '%HBCA%')) ;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MSSOT_RIVA_HSBC1_0-1710822642487.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/162249i5FB26AB2EF1B9451/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MSSOT_RIVA_HSBC1_0-1710822642487.png" alt="MSSOT_RIVA_HSBC1_0-1710822642487.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MSSOT_RIVA_HSBC1_1-1710822844065.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/162250i8BB72DCEFA83E8C7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MSSOT_RIVA_HSBC1_1-1710822844065.png" alt="MSSOT_RIVA_HSBC1_1-1710822844065.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Mar 2024 04:34:57 GMT</pubDate>
    <dc:creator>ET_FixEx_RIVA_HSBC1</dc:creator>
    <dc:date>2024-03-19T04:34:57Z</dc:date>
    <item>
      <title>Qlik Replicate Filter Expression</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Filter-Expression/m-p/2432135#M10195</link>
      <description>&lt;P&gt;Hi everyone,&lt;/P&gt;
&lt;P&gt;I wanted to apply the below filter on replicate but dont know whats the correct syntax for that , can someone help me on this&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider ed bpp bpq bpr bps bpt bpu bpv bpw bpx bpy bpz bqa bqb bqc bqd bqe bqf bqg bqh bqi bqj bqk bql bqm bqn bqo bqp bqq bqr bqs bqt bqu bqv bqw"&gt;select * from CMS_BDR_AGG_GROUP where keysum not in (select distinct '%X'||agg_id||'X%' as keysum from CMS_REF_AGG where (agg_type=3 and NAME='HBCA') OR (agg_type=2 and NAME like '%HBCA%')) ;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MSSOT_RIVA_HSBC1_0-1710822642487.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/162249i5FB26AB2EF1B9451/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MSSOT_RIVA_HSBC1_0-1710822642487.png" alt="MSSOT_RIVA_HSBC1_0-1710822642487.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="MSSOT_RIVA_HSBC1_1-1710822844065.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/162250i8BB72DCEFA83E8C7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="MSSOT_RIVA_HSBC1_1-1710822844065.png" alt="MSSOT_RIVA_HSBC1_1-1710822844065.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 04:34:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Filter-Expression/m-p/2432135#M10195</guid>
      <dc:creator>ET_FixEx_RIVA_HSBC1</dc:creator>
      <dc:date>2024-03-19T04:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Replicate Filter Expression</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Filter-Expression/m-p/2432136#M10196</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/235673"&gt;@ET_FixEx_RIVA_HSBC1&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;Thanks for reaching out to Qlik Community!&lt;/P&gt;
&lt;P&gt;May we know if this is a Full Load ONLY task, or the filter will be used during CDC stage?&lt;/P&gt;
&lt;P&gt;If it's a Full Load ONLY task then the easiest way is create a VIEW in source database (and filter the data by using the VIEW), and replicate the VIEW in Qlik Replicate task. It's much easier in Replicate task design/maintenance and better performance during run time.&lt;/P&gt;
&lt;P&gt;Hope this helps.&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 04:48:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Filter-Expression/m-p/2432136#M10196</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2024-03-19T04:48:12Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Replicate Filter Expression</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Filter-Expression/m-p/2432140#M10197</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;SPAN class="ui-provider ed bpp bpq bpr bps bpt bpu bpv bpw bpx bpy bpz bqa bqb bqc bqd bqe bqf bqg bqh bqi bqj bqk bql bqm bqn bqo bqp bqq bqr bqs bqt bqu bqv bqw"&gt;Hi John , Thanks for helping here we need to apply the filters in CDC stage. We are unable to modify the source database. Please advise of a solution.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 05:00:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Filter-Expression/m-p/2432140#M10197</guid>
      <dc:creator>ET_FixEx_RIVA_HSBC1</dc:creator>
      <dc:date>2024-03-19T05:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Qlik Replicate Filter Expression</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Filter-Expression/m-p/2432403#M10203</link>
      <description>&lt;P&gt;That request appears to be beyond the direct Replicate transformation functions.&lt;/P&gt;
&lt;P&gt;Replicate easily can do a convoluted&amp;nbsp; 'CASE - this that or the other thing' but the &lt;STRONG&gt;IN&lt;/STRONG&gt; clause suggest infinite/not-predefined cases. Maybe a smart RANGE filter can help if the cases are limited.&lt;/P&gt;
&lt;P&gt;I suspect you best, slow, bet is to let the source handle it.&lt;/P&gt;
&lt;P&gt;Use a transformation (filter) using &lt;STRONG&gt;source_lookup(TTL,SCHM,TBL,EXP,COND,COND_PARAMS)&lt;/STRONG&gt; with something along the lines of&amp;nbsp;&lt;/P&gt;
&lt;P&gt;source_lookup(0,&amp;lt;schema&amp;gt;,'&lt;SPAN&gt;CMS_REF_AGG', 'count(1)' ,' (:1=3 and :1='HBCA') OR (:1=2 and :2 like '%HBCA%'))', $agg_type, $NAME)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If the returned count is 0, then it is 'NOT IN'&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hein,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Mar 2024 13:39:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Qlik-Replicate-Filter-Expression/m-p/2432403#M10203</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2024-03-19T13:39:10Z</dc:date>
    </item>
  </channel>
</rss>

