<?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: Increase speed of script in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Increase-speed-of-script/m-p/1147777#M631537</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Gysbert. Now script works much more faster. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Aug 2016 11:39:33 GMT</pubDate>
    <dc:creator>vchuprina</dc:creator>
    <dc:date>2016-08-08T11:39:33Z</dc:date>
    <item>
      <title>Increase speed of script</title>
      <link>https://community.qlik.com/t5/QlikView/Increase-speed-of-script/m-p/1147775#M631535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to implement incremental reload because we get a lot of files and it's take a lot of time to load all files each time. &lt;/P&gt;&lt;P&gt;In script I create table to load filetime,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'times new roman', times;"&gt;&lt;EM&gt;Time:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'times new roman', times;"&gt;LOAD &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'times new roman', times;"&gt;&amp;nbsp; Num(FileTime()) AS CreatedTime&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'times new roman', times;"&gt;From&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'times new roman', times;"&gt;[$(vFile)]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'times new roman', times;"&gt;($(vExcel), no labels, table is [$(vSheetName)])&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'times new roman', times;"&gt;;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'times new roman', times;"&gt;LET vTime = Peek('CreatedTime', 0, 'Time');&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'times new roman', times;"&gt;&lt;EM&gt;DROP Table Time;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but I can't understand why script checked each line in sheet, for example if file have 36.507 lines, script load all of them. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG alt="Untitled.png" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/133902_Untitled.png" style="height: 34px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 11:04:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Increase-speed-of-script/m-p/1147775#M631535</guid>
      <dc:creator>vchuprina</dc:creator>
      <dc:date>2016-08-08T11:04:34Z</dc:date>
    </item>
    <item>
      <title>Re: Increase speed of script</title>
      <link>https://community.qlik.com/t5/QlikView/Increase-speed-of-script/m-p/1147776#M631536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're using a straight forward load statement with no restrictions so it will load run FileTime() once for every record. Try this instead:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'times new roman', times;"&gt;&lt;EM&gt;Time:&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'times new roman', times;"&gt;&lt;STRONG&gt;FIRST 1&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'times new roman', times;"&gt;LOAD &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'times new roman', times;"&gt;&amp;nbsp; Num(FileTime()) AS CreatedTime&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'times new roman', times;"&gt;From&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'times new roman', times;"&gt;[$(vFile)]&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'times new roman', times;"&gt;($(vExcel), no labels, table is [$(vSheetName)])&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'times new roman', times;"&gt;;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM style="font-family: 'times new roman', times;"&gt;LET vTime = Peek('CreatedTime', 0, 'Time');&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'times new roman', times;"&gt;&lt;EM&gt;DROP Table Time;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 11:29:34 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Increase-speed-of-script/m-p/1147776#M631536</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2016-08-08T11:29:34Z</dc:date>
    </item>
    <item>
      <title>Re: Increase speed of script</title>
      <link>https://community.qlik.com/t5/QlikView/Increase-speed-of-script/m-p/1147777#M631537</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you, Gysbert. Now script works much more faster. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Aug 2016 11:39:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Increase-speed-of-script/m-p/1147777#M631537</guid>
      <dc:creator>vchuprina</dc:creator>
      <dc:date>2016-08-08T11:39:33Z</dc:date>
    </item>
  </channel>
</rss>

