<?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: Using LookCapture in CDC in Qlik Replicate</title>
    <link>https://community.qlik.com/t5/Qlik-Replicate/Using-LookCapture-in-CDC/m-p/2120088#M7369</link>
    <description>&lt;P&gt;how? you can make a simulation?&amp;nbsp;&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="vitalf03_0-1695141307742.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/116602iDABB1F2BFBF4A8BA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vitalf03_0-1695141307742.png" alt="vitalf03_0-1695141307742.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i want use it here? you can?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 19 Sep 2023 16:35:58 GMT</pubDate>
    <dc:creator>vitalf03</dc:creator>
    <dc:date>2023-09-19T16:35:58Z</dc:date>
    <item>
      <title>Using LookCapture in CDC</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Using-LookCapture-in-CDC/m-p/2120033#M7367</link>
      <description>&lt;P&gt;Is it possible to use Source Lookup in the ''Filter'' tab passing the information in ''Record Selection Condition'' using CDC (Change Data Capture)?&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 14:27:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Using-LookCapture-in-CDC/m-p/2120033#M7367</guid>
      <dc:creator>vitalf03</dc:creator>
      <dc:date>2023-09-19T14:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: Using LookCapture in CDC</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Using-LookCapture-in-CDC/m-p/2120054#M7368</link>
      <description>&lt;P&gt;yes&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 15:12:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Using-LookCapture-in-CDC/m-p/2120054#M7368</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2023-09-19T15:12:51Z</dc:date>
    </item>
    <item>
      <title>Re: Using LookCapture in CDC</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Using-LookCapture-in-CDC/m-p/2120088#M7369</link>
      <description>&lt;P&gt;how? you can make a simulation?&amp;nbsp;&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="vitalf03_0-1695141307742.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/116602iDABB1F2BFBF4A8BA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="vitalf03_0-1695141307742.png" alt="vitalf03_0-1695141307742.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;i want use it here? you can?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 19 Sep 2023 16:35:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Using-LookCapture-in-CDC/m-p/2120088#M7369</guid>
      <dc:creator>vitalf03</dc:creator>
      <dc:date>2023-09-19T16:35:58Z</dc:date>
    </item>
    <item>
      <title>Re: Using LookCapture in CDC</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Using-LookCapture-in-CDC/m-p/2120197#M7378</link>
      <description>&lt;P&gt;Why don't you describe what you are trying to do ?! source_lookup might not be a solution in your case.&lt;/P&gt;
&lt;P&gt;Here is a completely contrived - but working - example.&lt;/P&gt;
&lt;P&gt;Source table: 'TEST' column ID and some more columns. 7 rows present with ID values :&amp;nbsp;&lt;/P&gt;
&lt;P&gt;SQL&amp;gt; select listagg(id,', ') from test; ---&amp;gt;&amp;nbsp;&amp;nbsp;2000010, 2000011, 2000012, 2000013, 2000030, 2000031, 2000032&lt;/P&gt;
&lt;P&gt;Now I create a table to filter on:&lt;BR /&gt;SQL&amp;gt; create table my_filter (id number, my_flag varchar(10));&lt;BR /&gt;SQL&amp;gt; insert into my_filter values (2000010, 'SKIP');&lt;BR /&gt;SQL&amp;gt; insert into my_filter values (2000031, 'SKIP');&lt;BR /&gt;SQL&amp;gt; commit;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;And in the task, with the help of the&amp;nbsp;Expression Builder I create a Record Selection Condition under Filter:&lt;/P&gt;
&lt;P&gt;'SKIP' != coalesce(source_lookup(1000,'ATT_USER','MY_FILTER','MY_FLAG', 'ID=:1',$ID), 'KEEP' )&lt;BR /&gt;Note 1)&amp;nbsp; I used coalesce because I only have rows to skip and want to deal with the 'NULL' returned for rows I want to KEEP.&amp;nbsp; &amp;nbsp;Note 2) I don't really need the MY_FLAG column.&amp;nbsp; It's just as example. For my contrived usage I could just return a hardcoded 1 or 0 or the ID itself as for the example only presence or absence count. For you, a special value like a date range, or country code or whatever may be looked up.&lt;/P&gt;
&lt;P&gt;After reload the target now has 5 rows with ID values:&amp;nbsp;2000011, 2000012, 2000013, 2000030, 2000032&lt;/P&gt;
&lt;P&gt;Replicate&amp;nbsp; filtered out the 2 rows with id's&amp;nbsp;2000010 and&amp;nbsp;2000031 which were present in the lookup table.&lt;/P&gt;
&lt;P&gt;hth,&lt;/P&gt;
&lt;P&gt;Hein&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 03:58:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Using-LookCapture-in-CDC/m-p/2120197#M7378</guid>
      <dc:creator>Heinvandenheuvel</dc:creator>
      <dc:date>2023-09-20T03:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Using LookCapture in CDC</title>
      <link>https://community.qlik.com/t5/Qlik-Replicate/Using-LookCapture-in-CDC/m-p/2120506#M7392</link>
      <description>&lt;P&gt;worked, thank you!&lt;/P&gt;</description>
      <pubDate>Wed, 20 Sep 2023 14:18:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Replicate/Using-LookCapture-in-CDC/m-p/2120506#M7392</guid>
      <dc:creator>vitalf03</dc:creator>
      <dc:date>2023-09-20T14:18:15Z</dc:date>
    </item>
  </channel>
</rss>

