<?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 Slowly Changing Dimensions in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Slowly-Changing-Dimensions/m-p/1537174#M439234</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to build out a dashboard that utilizes incremental loads and slowly changing dimensions.&amp;nbsp; I understand the idea behind SCD, and I believe I need type 2.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a main app that pulls info from various SQL sources.&amp;nbsp; At the end of that loadscript, I store five fields into a qvd.&amp;nbsp; I need to now build a new app that loads this stored qvd plus any NEW data.&amp;nbsp; See below.&amp;nbsp; (UserRoles.qvd is the stored QVD).&lt;/P&gt;&lt;P&gt;OLD:&lt;BR /&gt;load&lt;BR /&gt;UserID,&lt;BR /&gt;Critical,&lt;BR /&gt;Role,&lt;BR /&gt;SubRoleName,&lt;BR /&gt;reloadtime() as CreateDate&lt;/P&gt;&lt;P&gt;FROM&lt;BR /&gt;[C:\QVDev\SourceDocs\Shared QVD\Dimensional\UserRoles.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;Concatenate&lt;BR /&gt;NEW:&lt;BR /&gt;LOAD UserID,&lt;BR /&gt;Role,&lt;BR /&gt;Critical,&lt;BR /&gt;SubRoleName,&lt;BR /&gt;Reloadtime() as CreateDate&lt;BR /&gt;&lt;BR /&gt;FROM&lt;BR /&gt;[C:\QVDev\SourceDocs\QVW\Application\myOrders Resources\RoleChange.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Change);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Obviously this does not work the way I want.&amp;nbsp; If there is an updated/changed record in the NEW table, I want the OLD table to have a new column called 'EndDate' with the date that the updated record came in.&amp;nbsp; I want the NEW record to now contain a populated 'CreateDate' field.&amp;nbsp; I want to keep both records.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thoughts?&lt;/P&gt;</description>
    <pubDate>Sat, 16 Nov 2024 04:37:11 GMT</pubDate>
    <dc:creator>PresidReporting</dc:creator>
    <dc:date>2024-11-16T04:37:11Z</dc:date>
    <item>
      <title>Slowly Changing Dimensions</title>
      <link>https://community.qlik.com/t5/QlikView/Slowly-Changing-Dimensions/m-p/1537174#M439234</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to build out a dashboard that utilizes incremental loads and slowly changing dimensions.&amp;nbsp; I understand the idea behind SCD, and I believe I need type 2.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We have a main app that pulls info from various SQL sources.&amp;nbsp; At the end of that loadscript, I store five fields into a qvd.&amp;nbsp; I need to now build a new app that loads this stored qvd plus any NEW data.&amp;nbsp; See below.&amp;nbsp; (UserRoles.qvd is the stored QVD).&lt;/P&gt;&lt;P&gt;OLD:&lt;BR /&gt;load&lt;BR /&gt;UserID,&lt;BR /&gt;Critical,&lt;BR /&gt;Role,&lt;BR /&gt;SubRoleName,&lt;BR /&gt;reloadtime() as CreateDate&lt;/P&gt;&lt;P&gt;FROM&lt;BR /&gt;[C:\QVDev\SourceDocs\Shared QVD\Dimensional\UserRoles.qvd]&lt;BR /&gt;(qvd);&lt;/P&gt;&lt;P&gt;Concatenate&lt;BR /&gt;NEW:&lt;BR /&gt;LOAD UserID,&lt;BR /&gt;Role,&lt;BR /&gt;Critical,&lt;BR /&gt;SubRoleName,&lt;BR /&gt;Reloadtime() as CreateDate&lt;BR /&gt;&lt;BR /&gt;FROM&lt;BR /&gt;[C:\QVDev\SourceDocs\QVW\Application\myOrders Resources\RoleChange.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Change);&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Obviously this does not work the way I want.&amp;nbsp; If there is an updated/changed record in the NEW table, I want the OLD table to have a new column called 'EndDate' with the date that the updated record came in.&amp;nbsp; I want the NEW record to now contain a populated 'CreateDate' field.&amp;nbsp; I want to keep both records.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thoughts?&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 04:37:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Slowly-Changing-Dimensions/m-p/1537174#M439234</guid>
      <dc:creator>PresidReporting</dc:creator>
      <dc:date>2024-11-16T04:37:11Z</dc:date>
    </item>
  </channel>
</rss>

