<?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: Filtering on lookups and CDC ETL in Qlik Compose</title>
    <link>https://community.qlik.com/t5/Qlik-Compose/Filtering-on-lookups-and-CDC-ETL/m-p/1930571#M595</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/70469"&gt;@bilzekek&lt;/a&gt; I believe the &lt;SPAN&gt;only way to update the Fact table correctly is to do a full rebuild of DataMart, but I am checking with the internal team on this.&amp;nbsp; We will get back to you on this.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Nanda&lt;/SPAN&gt;&lt;/P&gt;</description>
    <pubDate>Fri, 13 May 2022 17:33:43 GMT</pubDate>
    <dc:creator>Nanda_Ravindra</dc:creator>
    <dc:date>2022-05-13T17:33:43Z</dc:date>
    <item>
      <title>Filtering on lookups and CDC ETL</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/Filtering-on-lookups-and-CDC-ETL/m-p/1930450#M594</link>
      <description>&lt;P&gt;Hi experts,&lt;/P&gt;
&lt;P&gt;I have a question related to filtering on lookups in cases where you use CDC ETL.&lt;/P&gt;
&lt;P&gt;Lets say you have a Replicate task with store changes on Table A, and another replicate task with store changes on Table B.&lt;/P&gt;
&lt;P&gt;In Compose, table A is used as main table for an Entity defined and from Table B you want to join (Lookup) some data that you want to use for filtering/removing some of the rows of Table A (that you plan to use as a Fact table in a Data mart). To do this, Table B is added as another Entity in the Model step of Compose and the lookup is then defined in the Data mart fact table.&lt;/P&gt;
&lt;P&gt;Am I correct in assuming that Compose will not be able to handle the the following scenarios with CDC ETL:&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;A change is occuring&amp;nbsp;&lt;STRONG&gt;only&lt;/STRONG&gt; to Table B that should result in filtering out a row in the Fact table.&lt;/LI&gt;
&lt;LI&gt;Later, That change in Table B is the reversed and Table B is updated again. Now the row should be present in the Fact table again.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;The only way to update Fact table correctly is to do full rebuild of datamart (but you can do CDC ETL up till DWH level) ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 20:49:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/Filtering-on-lookups-and-CDC-ETL/m-p/1930450#M594</guid>
      <dc:creator>bilzekek</dc:creator>
      <dc:date>2025-03-14T20:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on lookups and CDC ETL</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/Filtering-on-lookups-and-CDC-ETL/m-p/1930571#M595</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/70469"&gt;@bilzekek&lt;/a&gt; I believe the &lt;SPAN&gt;only way to update the Fact table correctly is to do a full rebuild of DataMart, but I am checking with the internal team on this.&amp;nbsp; We will get back to you on this.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Thanks,&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Nanda&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 17:33:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/Filtering-on-lookups-and-CDC-ETL/m-p/1930571#M595</guid>
      <dc:creator>Nanda_Ravindra</dc:creator>
      <dc:date>2022-05-13T17:33:43Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on lookups and CDC ETL</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/Filtering-on-lookups-and-CDC-ETL/m-p/1930629#M596</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/70469"&gt;@bilzekek&lt;/a&gt; ,&amp;nbsp; Just confirming that,the only way to update the Fact table correctly is to do a full rebuild of Data Mart. However, talking to our internal team, there are a couple of a work-around for this...&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Option #1 : &lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Use the filter column in the fact table. (e.g if you are filtering an order by its shipperName) - you could put shipperName in the fact table.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Option #2:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;Yyou could use shipperName in an expression - eg. CASE WHEN ${shipperName} is null then 1 else 0 end. Just by using the $shipperName in an expression, Compose will figure out changes to shippers.&lt;/P&gt;
&lt;P style="margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0px;"&gt;Option#1&amp;nbsp; would be the simplest way to do this.&lt;/P&gt;
&lt;P style="margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0px;"&gt;If you use the option#2, &lt;SPAN&gt;the case statement can include any filter columns&amp;nbsp; and you get code like below (see highlighted statement)&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0px;"&gt;&lt;SPAN&gt;If you need assistance with this, please open a case with support and we will assist you in implementing this.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Nanda_Ravindra_0-1652470785064.png" style="width: 576px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/79432i3822966510F3FE01/image-dimensions/576x234?v=v2" width="576" height="234" role="button" title="Nanda_Ravindra_0-1652470785064.png" alt="Nanda_Ravindra_0-1652470785064.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Nanda&lt;/P&gt;
&lt;P style="margin: 0px;"&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P style="margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0px;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;LI-WRAPPER&gt; &lt;/LI-WRAPPER&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 19:41:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/Filtering-on-lookups-and-CDC-ETL/m-p/1930629#M596</guid>
      <dc:creator>Nanda_Ravindra</dc:creator>
      <dc:date>2022-05-13T19:41:20Z</dc:date>
    </item>
    <item>
      <title>Re: Filtering on lookups and CDC ETL</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/Filtering-on-lookups-and-CDC-ETL/m-p/1930661#M597</link>
      <description>&lt;P&gt;Hi, OK will look into that thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 13 May 2022 21:02:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/Filtering-on-lookups-and-CDC-ETL/m-p/1930661#M597</guid>
      <dc:creator>bilzekek</dc:creator>
      <dc:date>2022-05-13T21:02:20Z</dc:date>
    </item>
  </channel>
</rss>

