<?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: initial load with historized source tables in Qlik Compose</title>
    <link>https://community.qlik.com/t5/Qlik-Compose/initial-load-with-historized-source-tables/m-p/1934229#M609</link>
    <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/160402"&gt;@sangam&lt;/a&gt;&amp;nbsp; Did Tims's suggestion work for you? If so, please don't forget to mark a solution that worked for you. This way users can find the answers for a similar situation.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Nanda&lt;/P&gt;</description>
    <pubDate>Mon, 23 May 2022 11:45:49 GMT</pubDate>
    <dc:creator>Nanda_Ravindra</dc:creator>
    <dc:date>2022-05-23T11:45:49Z</dc:date>
    <item>
      <title>initial load with historized source tables</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/initial-load-with-historized-source-tables/m-p/1792785#M270</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;i've got a source system that already uses the current table + historized table with validity period. is it possible to use that information to perform a SCD2 load for satellites, so that it will recreate a history of validity periods?&lt;/P&gt;&lt;P&gt;thanks, rd&lt;/P&gt;</description>
      <pubDate>Fri, 14 Mar 2025 20:49:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/initial-load-with-historized-source-tables/m-p/1792785#M270</guid>
      <dc:creator>pandabrowski</dc:creator>
      <dc:date>2025-03-14T20:49:07Z</dc:date>
    </item>
    <item>
      <title>Re: initial load with historized source tables</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/initial-load-with-historized-source-tables/m-p/1792905#M272</link>
      <description>&lt;P&gt;@Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/123233"&gt;@pandabrowski&lt;/a&gt;&amp;nbsp; -&amp;nbsp;&lt;/P&gt;&lt;P&gt;This is easy to accomplish in Compose.&amp;nbsp; &amp;nbsp;All you need to do is map the FROM_DATE / EFFECTIVE_DATE in your Source to the FD / FROM_DATE column in the Compose mapping.&amp;nbsp; See example below where FD has been mapped.&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;By default Compose derives the FROM_DATE (FD)&lt;UL&gt;&lt;LI&gt;Bulk load - I believe it uses UTC in ComposeDW.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;CDC load from Replicate __CT tables - Compose uses the header__timestamp from Replicate&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;In mapping the FD you are simply telling Compose that you have SCD type of data as a source&amp;nbsp; &amp;nbsp;and you want it to use the src systems from date.&amp;nbsp; Compose will auto-detect and calculate the "TO_DATE (TD)" value.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Whenever you map the FD column, ensure you have "HANDLE DUPLICATES" checked for the mapping.&amp;nbsp; As this tells Compose it could see multiple values per Key for the entity and it will then handle the SCD behavior appropriately.&amp;nbsp;&lt;/P&gt;&lt;P&gt;(Note if you leave the column mapped for CDC ETL Sets also - then Compose will continue to use the data from the source and NOT the header__timestamp - which maybe what you want for this use case / requirement).&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="TimGarrod_0-1616163019741.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/51474i69ED2944F92CE74E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TimGarrod_0-1616163019741.png" alt="TimGarrod_0-1616163019741.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 19 Mar 2021 14:14:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/initial-load-with-historized-source-tables/m-p/1792905#M272</guid>
      <dc:creator>TimGarrod</dc:creator>
      <dc:date>2021-03-19T14:14:20Z</dc:date>
    </item>
    <item>
      <title>Re: initial load with historized source tables</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/initial-load-with-historized-source-tables/m-p/1925467#M588</link>
      <description>&lt;P&gt;Hello Tim,&lt;/P&gt;
&lt;P&gt;I have a similar requirement. I am using Qlik Replicate to replicate the source table data from Oracle database to Snowflake database.&lt;/P&gt;
&lt;P&gt;In Qlik Replicate, I have created a Task with Full load, Apply Changes and Store Changes. The task created 2 tables in Snowflake -&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;a like to like table&lt;/LI&gt;
&lt;LI&gt;a change table with __ct as suffix.&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;I would need to create and populate SCD2 tables using above tables. Can you please elaborate your solution for this.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you,&lt;/P&gt;
&lt;P&gt;Sangam.&lt;/P&gt;</description>
      <pubDate>Tue, 03 May 2022 08:45:29 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/initial-load-with-historized-source-tables/m-p/1925467#M588</guid>
      <dc:creator>sangam</dc:creator>
      <dc:date>2022-05-03T08:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: initial load with historized source tables</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/initial-load-with-historized-source-tables/m-p/1931833#M598</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/160402"&gt;@sangam&lt;/a&gt; -&amp;nbsp;&lt;/P&gt;&lt;P&gt;In Compose, you can define the attributes in the DWH model as Type 2 or Type 1 attributes.&amp;nbsp; &amp;nbsp; You can also then define a dimensions as Type 2 or Type 1.&amp;nbsp; (Note for a dim to be managed as Type 2, the DWH attributes must be Type 2 also).&amp;nbsp;&lt;/P&gt;&lt;P&gt;Type 2 management of the DWH model is automated by Compose.&amp;nbsp; &amp;nbsp;With the configuration you mentioned, when setting up your Compose landing zone connection - make sure you define it as having "Full Load and Change Processing" in the Content Type.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="TimGarrod_0-1652797186259.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/79618iA3BBD8313D1921AF/image-size/medium?v=v2&amp;amp;px=400" role="button" title="TimGarrod_0-1652797186259.png" alt="TimGarrod_0-1652797186259.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;When you discover tables - you will get 2 ETL Tasks.&amp;nbsp; 1 will be called "LandingZoneName" - this is a full load.&amp;nbsp; It is not a truncate and load - but rather reads all the table from the Replicate like to like table and compares it with the data in the DWH tables to detect new&amp;nbsp; / changed records (and will process / manage type 2 accordingly).&lt;/P&gt;&lt;P&gt;A second ETL task "LandingZoneName_CDC" will be created also.&amp;nbsp; &amp;nbsp;This can use the same mappings (if they are table based) as the full load task.&amp;nbsp; &amp;nbsp;When the code is generated, Compose will point itself to the __CT tables.&amp;nbsp; &amp;nbsp;The CDC task will then process only changes from the __CT tables, and will use the header_timestamp as the FROM_DATE (FD) for Type 2 processing.&amp;nbsp; &amp;nbsp; &amp;nbsp;Type 2 management / processing is automated by Compose.&amp;nbsp; &amp;nbsp; Under normal scenarios, (as mentioned above), the header__timestamp column is used for the from date.&amp;nbsp; &amp;nbsp; In this scenario, the From Date (FD) will not be mapped in the mapping - Compose will handle it automatically for you.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If your source data comes as type 2 (as the original posters question) - then you should map the source column that represents the From date to the FD field in the mapping.&amp;nbsp; &amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope that helps!&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 14:23:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/initial-load-with-historized-source-tables/m-p/1931833#M598</guid>
      <dc:creator>TimGarrod</dc:creator>
      <dc:date>2022-05-17T14:23:56Z</dc:date>
    </item>
    <item>
      <title>Re: initial load with historized source tables</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/initial-load-with-historized-source-tables/m-p/1931872#M599</link>
      <description>&lt;P&gt;Thank you so much for your detailed response.&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 14:47:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/initial-load-with-historized-source-tables/m-p/1931872#M599</guid>
      <dc:creator>sangam</dc:creator>
      <dc:date>2022-05-17T14:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: initial load with historized source tables</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/initial-load-with-historized-source-tables/m-p/1934229#M609</link>
      <description>&lt;P&gt;&lt;a href="https://community.qlik.com/t5/user/viewprofilepage/user-id/160402"&gt;@sangam&lt;/a&gt;&amp;nbsp; Did Tims's suggestion work for you? If so, please don't forget to mark a solution that worked for you. This way users can find the answers for a similar situation.&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Nanda&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 11:45:49 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/initial-load-with-historized-source-tables/m-p/1934229#M609</guid>
      <dc:creator>Nanda_Ravindra</dc:creator>
      <dc:date>2022-05-23T11:45:49Z</dc:date>
    </item>
    <item>
      <title>Re: initial load with historized source tables</title>
      <link>https://community.qlik.com/t5/Qlik-Compose/initial-load-with-historized-source-tables/m-p/1934311#M610</link>
      <description>&lt;P&gt;Thank you Tim, it worked for me.&lt;/P&gt;</description>
      <pubDate>Mon, 23 May 2022 13:39:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Qlik-Compose/initial-load-with-historized-source-tables/m-p/1934311#M610</guid>
      <dc:creator>sangam</dc:creator>
      <dc:date>2022-05-23T13:39:58Z</dc:date>
    </item>
  </channel>
</rss>

