<?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: Store weekly data to track history in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Store-weekly-data-to-track-history/m-p/1659820#M728988</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;yes this is possible through " Insert and Update " using QVD files for incremental load&lt;/P&gt;&lt;P&gt;a sample code that you can use&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;QV_Table:

SQL SELECT your_PrimaryKey, WorkCenter,Week(today()) as week, forecast FROM yoursource

WHERE ModificationTime &amp;gt;= #$(LastExecTime)#;

 

Concatenate LOAD your_PrimaryKey, WorkCenter,week, forecast FROM history.QVD

WHERE NOT Exists(your_PrimaryKey);

 

STORE QV_Table INTO history.QVD;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;more details in this section : &lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/QVD_Incremental.htm" target="_self"&gt;link&lt;/A&gt;&lt;/P&gt;&lt;P&gt;then you can use history.QVD for your reporting&lt;/P&gt;</description>
    <pubDate>Fri, 20 Dec 2019 15:00:41 GMT</pubDate>
    <dc:creator>Taoufiq_Zarra</dc:creator>
    <dc:date>2019-12-20T15:00:41Z</dc:date>
    <item>
      <title>Store weekly data to track history</title>
      <link>https://community.qlik.com/t5/QlikView/Store-weekly-data-to-track-history/m-p/1659662#M728987</link>
      <description>&lt;P&gt;Hi community,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have a qlik that is loaded daily which shows forecasted production at the load date.&amp;nbsp;&lt;BR /&gt;This data is continuously changing as production orders are completed and new orders are created, meaning that the data is constantly overwritten.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I want to be able track how the forecast changes - e.g. I want to be able to compare the forecast at week 1 with the forecast at week 2. Today I do this manually by storing the current week data in Excel and uploading it to the qlik.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Is it possible to store the data upon reload into a QVD-file (preferably once a week to limit the number of qvd files created - the qlik is loaded daily) and dynamically including it in the qlik?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Below is an example of what I hope to achieve:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="image.png" style="width: 679px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/25829i7D16FF1767C98F50/image-size/large?v=v2&amp;amp;px=999" role="button" title="image.png" alt="image.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 01:39:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-weekly-data-to-track-history/m-p/1659662#M728987</guid>
      <dc:creator>Hoowling</dc:creator>
      <dc:date>2024-11-16T01:39:10Z</dc:date>
    </item>
    <item>
      <title>Re: Store weekly data to track history</title>
      <link>https://community.qlik.com/t5/QlikView/Store-weekly-data-to-track-history/m-p/1659820#M728988</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;yes this is possible through " Insert and Update " using QVD files for incremental load&lt;/P&gt;&lt;P&gt;a sample code that you can use&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;QV_Table:

SQL SELECT your_PrimaryKey, WorkCenter,Week(today()) as week, forecast FROM yoursource

WHERE ModificationTime &amp;gt;= #$(LastExecTime)#;

 

Concatenate LOAD your_PrimaryKey, WorkCenter,week, forecast FROM history.QVD

WHERE NOT Exists(your_PrimaryKey);

 

STORE QV_Table INTO history.QVD;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;more details in this section : &lt;A href="https://help.qlik.com/en-US/qlikview/April2019/Subsystems/Client/Content/QV_QlikView/QVD_Incremental.htm" target="_self"&gt;link&lt;/A&gt;&lt;/P&gt;&lt;P&gt;then you can use history.QVD for your reporting&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 15:00:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-weekly-data-to-track-history/m-p/1659820#M728988</guid>
      <dc:creator>Taoufiq_Zarra</dc:creator>
      <dc:date>2019-12-20T15:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Store weekly data to track history</title>
      <link>https://community.qlik.com/t5/QlikView/Store-weekly-data-to-track-history/m-p/1660819#M728989</link>
      <description>&lt;P&gt;Just adding a Design Blog post in addition to the Help link Taoufiq supplied, may be of some further help in getting it to make sense.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://community.qlik.com/t5/Qlik-Design-Blog/Overview-of-Qlik-Incremental-Loading/ba-p/1466780" target="_blank"&gt;https://community.qlik.com/t5/Qlik-Design-Blog/Overview-of-Qlik-Incremental-Loading/ba-p/1466780&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Regards,&lt;BR /&gt;Brett&lt;/P&gt;</description>
      <pubDate>Thu, 26 Dec 2019 15:17:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Store-weekly-data-to-track-history/m-p/1660819#M728989</guid>
      <dc:creator>Brett_Bleess</dc:creator>
      <dc:date>2019-12-26T15:17:05Z</dc:date>
    </item>
  </channel>
</rss>

