<?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: Doing a partial reload in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Doing-a-partial-reload/m-p/523497#M1140444</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can add a conditional statement to the reload using filetime()&lt;/P&gt;&lt;P&gt;In that case you'll only reload files which are modified today (or after a certain time)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;filetime()&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Returns a timestamp for the date and time of the last modification of the file &lt;SPAN class="Italic"&gt;filename&lt;/SPAN&gt;. If no &lt;SPAN class="Italic"&gt;filename&lt;/SPAN&gt; is specified, the function will refer to the currently read table file. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P class="Code"&gt;filetime( 'xyz.xls' )&lt;/P&gt;&lt;P&gt;Will return the timestamp of the last modification of the file xyz.xls. &lt;/P&gt;&lt;P class="Code"&gt;Load *, filetime() as X from abc.txt ;&lt;/P&gt;&lt;P&gt;Will return the date and time of the last modification of the file (abc.txt) as a timestamp in field X in each record read. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 16 Sep 2013 12:10:54 GMT</pubDate>
    <dc:creator />
    <dc:date>2013-09-16T12:10:54Z</dc:date>
    <item>
      <title>Doing a partial reload</title>
      <link>https://community.qlik.com/t5/QlikView/Doing-a-partial-reload/m-p/523496#M1140441</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working with a number of excel files. Some of them are quite large. The qlikview reload, hence, takes quite a few minutes to reload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i make a change to one of the base excel files, i have to do the complete reload again and wait which makes the whole process inefficient. Is it possible to only reload the specific file which was changed? And not having to reload the whole set of files which takes ages? &lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Would be great if you could let me know.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 15 Sep 2013 23:27:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doing-a-partial-reload/m-p/523496#M1140441</guid>
      <dc:creator />
      <dc:date>2013-09-15T23:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: Doing a partial reload</title>
      <link>https://community.qlik.com/t5/QlikView/Doing-a-partial-reload/m-p/523497#M1140444</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can add a conditional statement to the reload using filetime()&lt;/P&gt;&lt;P&gt;In that case you'll only reload files which are modified today (or after a certain time)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;filetime()&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Returns a timestamp for the date and time of the last modification of the file &lt;SPAN class="Italic"&gt;filename&lt;/SPAN&gt;. If no &lt;SPAN class="Italic"&gt;filename&lt;/SPAN&gt; is specified, the function will refer to the currently read table file. &lt;/P&gt;&lt;P class="example"&gt;Examples:&lt;/P&gt;&lt;P class="Code"&gt;filetime( 'xyz.xls' )&lt;/P&gt;&lt;P&gt;Will return the timestamp of the last modification of the file xyz.xls. &lt;/P&gt;&lt;P class="Code"&gt;Load *, filetime() as X from abc.txt ;&lt;/P&gt;&lt;P&gt;Will return the date and time of the last modification of the file (abc.txt) as a timestamp in field X in each record read. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 12:10:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doing-a-partial-reload/m-p/523497#M1140444</guid>
      <dc:creator />
      <dc:date>2013-09-16T12:10:54Z</dc:date>
    </item>
    <item>
      <title>Re: Doing a partial reload</title>
      <link>https://community.qlik.com/t5/QlikView/Doing-a-partial-reload/m-p/523498#M1140446</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi - where do I add this? in the Edit script section? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example so in Edit Script, I type&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=filetime(To Be data 16.9.xlsx) and then hit Reload? That will reload everything and come up with an error message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 12:17:31 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doing-a-partial-reload/m-p/523498#M1140446</guid>
      <dc:creator />
      <dc:date>2013-09-16T12:17:31Z</dc:date>
    </item>
    <item>
      <title>Re: Doing a partial reload</title>
      <link>https://community.qlik.com/t5/QlikView/Doing-a-partial-reload/m-p/523499#M1140447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Loading from Excel files can be slow. A quick solution is to use Qlikview's buffer command. Just prefix your load like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Buffer (Stale After 24 hours)&lt;/P&gt;&lt;P&gt;LOAD .....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Buffer&lt;/P&gt;&lt;P&gt;LOAD ....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Adjust the time to nn hours or nn days at your discretion. If you do not modify the load statement, the buffer will read from a local QVD which is much faster than reading from Excel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps&lt;/P&gt;&lt;P&gt;Jonathan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 12:20:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doing-a-partial-reload/m-p/523499#M1140447</guid>
      <dc:creator>jonathandienst</dc:creator>
      <dc:date>2013-09-16T12:20:25Z</dc:date>
    </item>
    <item>
      <title>Re: Doing a partial reload</title>
      <link>https://community.qlik.com/t5/QlikView/Doing-a-partial-reload/m-p/523500#M1140449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;First of all, Qlikview drops your data upon a reload, so if you don't want to reload everything that means you'll loose data. &lt;/P&gt;&lt;P&gt;Solution 1 is to change your script so you load your tables first into QVD's.&lt;/P&gt;&lt;P&gt;------------------------------&lt;/P&gt;&lt;P&gt;Tablename:&lt;/P&gt;&lt;P&gt;load statement&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[\YourFILE.xls]&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is [sheet1$]);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Store Tablename into $(vQVDFolder)\Tablename.QVD (QVD);&lt;/P&gt;&lt;P&gt;-------------------------------&lt;/P&gt;&lt;P&gt;If you load from the QVD it'll be much faster to reload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Solution 2:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create subs, so you can easily switch off and on certain parts of your load script (for instance to just load that one excel file into qvd)&lt;/P&gt;&lt;P&gt;-----------------------------&lt;/P&gt;&lt;P&gt;Sub YOURSUB;&lt;/P&gt;&lt;P&gt;your script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sub YOURSUB2;&lt;/P&gt;&lt;P&gt;your script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;End sub&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Call YOURSUB;&lt;/P&gt;&lt;P&gt;-------------------------------&lt;/P&gt;&lt;P&gt;This will only execute the code under YOURSUB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Finally you can use 'first n' to specify a number of rows you want to load, this way you'll have all tables only with limit data, which speeds up load times.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 12:29:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doing-a-partial-reload/m-p/523500#M1140449</guid>
      <dc:creator />
      <dc:date>2013-09-16T12:29:15Z</dc:date>
    </item>
    <item>
      <title>Re: Doing a partial reload</title>
      <link>https://community.qlik.com/t5/QlikView/Doing-a-partial-reload/m-p/523501#M1140451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use&amp;nbsp; a variable and&amp;nbsp; an If ... Then... clause&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If vFlagForReload=1 Then&lt;/P&gt;&lt;P&gt;replace Load&lt;/P&gt;&lt;P&gt;...&lt;/P&gt;&lt;P&gt;From...&amp;nbsp; SomeExcel_1 ....&lt;/P&gt;&lt;P&gt;End If&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Set value for vFlagForReload with a button and with the same button make reload&lt;/P&gt;&lt;P&gt;well... with this construction you can e_x_c_l_u_d_e from reload&lt;/P&gt;&lt;P&gt;if vFlagForReload&amp;lt;&amp;gt;1 then your script escape reloading from file SomeExcel_1&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 16 Sep 2013 15:34:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doing-a-partial-reload/m-p/523501#M1140451</guid>
      <dc:creator />
      <dc:date>2013-09-16T15:34:42Z</dc:date>
    </item>
    <item>
      <title>Re: Doing a partial reload</title>
      <link>https://community.qlik.com/t5/QlikView/Doing-a-partial-reload/m-p/523502#M1140453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just use "REPLACE" in front of your script..For example :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example:&lt;/P&gt;&lt;P&gt;REPLACE LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; aa,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; bb,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; cc&lt;/P&gt;&lt;P&gt;FROM&lt;/P&gt;&lt;P&gt;[..\excel.xls]&lt;/P&gt;&lt;P&gt;(biff, embedded labels, table is Sheet1$);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you have to reload with "CTRL+SHIFT+R" or you can go "file--&amp;gt;Partial Reload"&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 06:30:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doing-a-partial-reload/m-p/523502#M1140453</guid>
      <dc:creator>weezerian</dc:creator>
      <dc:date>2013-09-17T06:30:24Z</dc:date>
    </item>
    <item>
      <title>Re: Doing a partial reload</title>
      <link>https://community.qlik.com/t5/QlikView/Doing-a-partial-reload/m-p/523503#M1140455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perfect this worked! Thanks. The other answers are too confusing for a beginner like me to work out of.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Sep 2013 09:34:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Doing-a-partial-reload/m-p/523503#M1140455</guid>
      <dc:creator />
      <dc:date>2013-09-17T09:34:28Z</dc:date>
    </item>
  </channel>
</rss>

