<?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 Partial Reload with yearly data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Partial-Reload-with-yearly-data/m-p/2100711#M1224331</link>
    <description>&lt;P&gt;Hi all!&lt;BR /&gt;I need help with partial reload in Qlikview. I have a separate .qvd file for each year (i.e. 2021,2022,2023). I currently reload all the data every time:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;SalesData:
LOAD 

date,
sales

from [Sales_*.qvd] (qvd);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To speed up the process, during partial reload, I would like to:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;keep the previous years in memory (i.e. 2021,2022)&lt;/LI&gt;
&lt;LI&gt;drop all the data of the current year (2023)&lt;/LI&gt;
&lt;LI&gt;reload the updated data of 2023&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;How can I do this in Qlikview?&lt;BR /&gt;Thank you in advance.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
    <pubDate>Wed, 02 Aug 2023 15:49:46 GMT</pubDate>
    <dc:creator>simone_g</dc:creator>
    <dc:date>2023-08-02T15:49:46Z</dc:date>
    <item>
      <title>Partial Reload with yearly data</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-Reload-with-yearly-data/m-p/2100711#M1224331</link>
      <description>&lt;P&gt;Hi all!&lt;BR /&gt;I need help with partial reload in Qlikview. I have a separate .qvd file for each year (i.e. 2021,2022,2023). I currently reload all the data every time:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="c"&gt;SalesData:
LOAD 

date,
sales

from [Sales_*.qvd] (qvd);&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To speed up the process, during partial reload, I would like to:&lt;/P&gt;
&lt;OL&gt;
&lt;LI&gt;keep the previous years in memory (i.e. 2021,2022)&lt;/LI&gt;
&lt;LI&gt;drop all the data of the current year (2023)&lt;/LI&gt;
&lt;LI&gt;reload the updated data of 2023&lt;/LI&gt;
&lt;/OL&gt;
&lt;P&gt;How can I do this in Qlikview?&lt;BR /&gt;Thank you in advance.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Aug 2023 15:49:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-Reload-with-yearly-data/m-p/2100711#M1224331</guid>
      <dc:creator>simone_g</dc:creator>
      <dc:date>2023-08-02T15:49:46Z</dc:date>
    </item>
    <item>
      <title>Re: Partial Reload with yearly data</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-Reload-with-yearly-data/m-p/2101840#M1224333</link>
      <description>&lt;P&gt;Hello, what you can do first is save your data in a QVD file and then put a condition where it says that if there is a qvd file, you must load it with the current year and then concatenate it to the qvd with the previous data (previously loaded), for last replaces the old QVD file.&lt;/P&gt;
&lt;P&gt;Here an example code:&lt;/P&gt;
&lt;P&gt;// Step 1: Load the table and save it to a QVD&lt;BR /&gt;MyTable:&lt;BR /&gt;LOAD&lt;BR /&gt;*&lt;BR /&gt;FROM [Path\To\Your\Source\File.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;
&lt;P&gt;// Step 2: Check if there's an existing QVD for the table&lt;BR /&gt;Let vQvdPath = 'Path\To\Your\QVDs\' &amp;amp; 'MyTable.qvd';&lt;BR /&gt;If FileExists(vQvdPath) then&lt;BR /&gt;// Step 3: Load the new data with a condition for the current year&lt;BR /&gt;NewData:&lt;BR /&gt;LOAD&lt;BR /&gt;*&lt;BR /&gt;FROM [Path\To\Your\Source\File.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1)&lt;BR /&gt;Where Year = Year(Today());&lt;/P&gt;
&lt;P&gt;// Step 4: Concatenate the new data with the previously loaded QVD&lt;BR /&gt;Concatenate (MyTable)&lt;BR /&gt;LOAD&lt;BR /&gt;*&lt;BR /&gt;FROM [$(vQvdPath)] (qvd);&lt;/P&gt;
&lt;P&gt;// Step 5: Save the updated data back to the QVD&lt;BR /&gt;Store MyTable into [$(vQvdPath)] (qvd);&lt;/P&gt;
&lt;P&gt;else&lt;BR /&gt;// Step 6: If there's no existing QVD, load the entire table&lt;BR /&gt;MyTable:&lt;BR /&gt;LOAD&lt;BR /&gt;*&lt;BR /&gt;FROM [Path\To\Your\Source\File.xlsx]&lt;BR /&gt;(ooxml, embedded labels, table is Sheet1);&lt;/P&gt;
&lt;P&gt;// Step 7: Save the entire table to the QVD for future incremental loads&lt;BR /&gt;Store MyTable into [$(vQvdPath)] (qvd);&lt;/P&gt;
&lt;P&gt;endif;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 03 Aug 2023 01:42:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-Reload-with-yearly-data/m-p/2101840#M1224333</guid>
      <dc:creator>cristianj23a</dc:creator>
      <dc:date>2023-08-03T01:42:32Z</dc:date>
    </item>
    <item>
      <title>Re: Partial Reload with yearly data</title>
      <link>https://community.qlik.com/t5/QlikView/Partial-Reload-with-yearly-data/m-p/2103456#M1224357</link>
      <description>&lt;P&gt;Thanks Christian for helping!!&lt;/P&gt;
&lt;P&gt;&lt;A href="https://colasocialsecurity.info/" target="_self"&gt;Social Security COLA&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Aug 2023 05:32:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Partial-Reload-with-yearly-data/m-p/2103456#M1224357</guid>
      <dc:creator>Herrera43</dc:creator>
      <dc:date>2023-08-09T05:32:01Z</dc:date>
    </item>
  </channel>
</rss>

