<?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: Problems with filters to prevent deletion in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Problems-with-filters-to-prevent-deletion/m-p/2548149#M16217</link>
    <description>&lt;DIV&gt;
&lt;P&gt;&lt;STRONG&gt;I have added up the total number of deletes across all tables and then subtracted from that total the number of deletes for the tables with the filter. As a result, I obtain the number of deletes shown in the Aggregates section, so we can confirm that the filter is working correctly.&lt;/STRONG&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Thu, 30 Apr 2026 07:03:46 GMT</pubDate>
    <dc:creator>JorgeManrique</dc:creator>
    <dc:date>2026-04-30T07:03:46Z</dc:date>
    <item>
      <title>Problems with filters to prevent deletion</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Problems-with-filters-to-prevent-deletion/m-p/2548141#M16213</link>
      <description>&lt;DIV&gt;
&lt;P&gt;&lt;STRONG&gt;Good morning, we have created a filter in our Qlik Replicate for certain tables where the following string has been added:&lt;BR /&gt;&lt;CODE&gt;"$AR_H_OPERATION != 'DELETE'"&lt;/CODE&gt; to prevent deletes from being replicated. After a few days with the filter in place, we’ve seen that these tables are still replicating deletes. Is this correct?&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JorgeManrique_0-1777529599548.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/188075i3A00574B2511DBF0/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JorgeManrique_0-1777529599548.png" alt="JorgeManrique_0-1777529599548.png" /&gt;&lt;/span&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 30 Apr 2026 06:13:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Problems-with-filters-to-prevent-deletion/m-p/2548141#M16213</guid>
      <dc:creator>JorgeManrique</dc:creator>
      <dc:date>2026-04-30T06:13:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with filters to prevent deletion</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Problems-with-filters-to-prevent-deletion/m-p/2548142#M16214</link>
      <description>&lt;P&gt;Hi Jorge,&lt;/P&gt;&lt;P&gt;Your filter syntax looks fin &amp;nbsp;`$AR_H_OPERATION != 'DELETE'` in the Record Selection Condition is the documented way to suppress deletes on the target, and your screenshot shows it entered correctly.&lt;/P&gt;&lt;P&gt;This could be a UI interpretation issue rather than a filter problem. There's an official Qlik KB article that covers exactly this situation:&lt;/P&gt;&lt;P&gt;&lt;A href="https://qlikcrm.my.site.com/QlikHelpCenter/s/article/Qlik-Replicate-Task-is-set-to-Ignore-Delete-Operations-but-the-Interface-still-indicates-there-are-Deletes" target="_blank"&gt;https://qlikcrm.my.site.com/QlikHelpCenter/s/article/Qlik-Replicate-Task-is-set-to-Ignore-Delete-Operations-but-the-Interface-still-indicates-there-are-Deletes&lt;/A&gt;&lt;/P&gt;&lt;P&gt;The short version: in the Change Processing screen, there are two tabs that show different things:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;STRONG&gt;Recent Activity&lt;/STRONG&gt; shows everything that was &lt;EM&gt;read&lt;/EM&gt; from the source transaction log, so deletes will keep showing up here even with the filter in place, because Replicate still reads them, it just doesn't apply them.&lt;/LI&gt;&lt;LI&gt;&lt;STRONG&gt;Aggregates&lt;/STRONG&gt;&amp;nbsp;shows what was actually &lt;EM&gt;applied&lt;/EM&gt; to the target. With your filter working correctly, you should see zero deletes here.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;So if you've been looking at Recent Activity, that explains it. Switch to the Aggregates tab and check there, that's the one that reflects what hit the target.&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2026 06:42:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Problems-with-filters-to-prevent-deletion/m-p/2548142#M16214</guid>
      <dc:creator>stijnvaneven</dc:creator>
      <dc:date>2026-04-30T06:42:19Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with filters to prevent deletion</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Problems-with-filters-to-prevent-deletion/m-p/2548147#M16215</link>
      <description>&lt;DIV&gt;
&lt;P&gt;&lt;STRONG&gt;Hello, the Aggregates tab shows the total data for all the tables that are being replicated; it is not a filter that applies to all tables but only to specific ones. Therefore, in this case, Aggregates continues to show deletes. In the Recent Activity section, if we filter by the tables where we have applied the delete filter, it shows that deletes have been processed.&lt;/STRONG&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 30 Apr 2026 06:51:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Problems-with-filters-to-prevent-deletion/m-p/2548147#M16215</guid>
      <dc:creator>JorgeManrique</dc:creator>
      <dc:date>2026-04-30T06:51:38Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with filters to prevent deletion</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Problems-with-filters-to-prevent-deletion/m-p/2548148#M16216</link>
      <description>&lt;P&gt;You're right that Aggregates shows task-level totals across all tables, so if other tables in the task don't have the delete filter, their deletes will still appear there. Good point.&lt;/P&gt;&lt;P&gt;For Recent Activity though, that's actually exactly the scenario described in the KB article, even when filtered to only the tables that have the delete filter, deletes will still show up there, because Recent Activity shows what was &lt;STRONG&gt;read&lt;/STRONG&gt; from the source transaction log. The filter doesn't stop Replicate from reading deletes, it only stops them from being &lt;STRONG&gt;applied&lt;/STRONG&gt; to the target. So seeing deletes in Recent Activity for a filtered table is expected behavior, not a sign that the filter isn't working.&lt;/P&gt;&lt;P&gt;Can you do a test to confirm by deleting a known row on the source for one of the filtered tables, wait for the task to process it, then query the target for that primary key. If the row is still there, the filter is working as intended. Or do the test on maybe a separate table?&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2026 07:01:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Problems-with-filters-to-prevent-deletion/m-p/2548148#M16216</guid>
      <dc:creator>stijnvaneven</dc:creator>
      <dc:date>2026-04-30T07:01:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with filters to prevent deletion</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Problems-with-filters-to-prevent-deletion/m-p/2548149#M16217</link>
      <description>&lt;DIV&gt;
&lt;P&gt;&lt;STRONG&gt;I have added up the total number of deletes across all tables and then subtracted from that total the number of deletes for the tables with the filter. As a result, I obtain the number of deletes shown in the Aggregates section, so we can confirm that the filter is working correctly.&lt;/STRONG&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 30 Apr 2026 07:03:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Problems-with-filters-to-prevent-deletion/m-p/2548149#M16217</guid>
      <dc:creator>JorgeManrique</dc:creator>
      <dc:date>2026-04-30T07:03:46Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with filters to prevent deletion</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Problems-with-filters-to-prevent-deletion/m-p/2548150#M16218</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/365197"&gt;@JorgeManrique&lt;/a&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Would please share what's the source DB type and Replicate version?&lt;/P&gt;
&lt;P&gt;thanks,&lt;/P&gt;
&lt;P&gt;John.&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2026 07:11:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Problems-with-filters-to-prevent-deletion/m-p/2548150#M16218</guid>
      <dc:creator>john_wang</dc:creator>
      <dc:date>2026-04-30T07:11:53Z</dc:date>
    </item>
    <item>
      <title>Re: Problems with filters to prevent deletion</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Problems-with-filters-to-prevent-deletion/m-p/2548151#M16219</link>
      <description>&lt;P&gt;Source: DB2 LUW&lt;/P&gt;
&lt;P&gt;Qlik Version:&amp;nbsp;November 2023 (2023.11.0.597)&lt;/P&gt;</description>
      <pubDate>Thu, 30 Apr 2026 07:18:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Problems-with-filters-to-prevent-deletion/m-p/2548151#M16219</guid>
      <dc:creator>JorgeManrique</dc:creator>
      <dc:date>2026-04-30T07:18:51Z</dc:date>
    </item>
  </channel>
</rss>

