<?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: load last qvd in folder in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/load-last-qvd-in-folder/m-p/13953#M783219</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;load first time.&lt;/P&gt;&lt;P&gt;this is how my folder looks.&lt;/P&gt;&lt;P&gt;I want to load only the last modified file (18_03_26-1600)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="folder.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/197564_folder.JPG" style="height: 129px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 27 Mar 2018 06:43:45 GMT</pubDate>
    <dc:creator>andreip21</dc:creator>
    <dc:date>2018-03-27T06:43:45Z</dc:date>
    <item>
      <title>load last qvd in folder</title>
      <link>https://community.qlik.com/t5/QlikView/load-last-qvd-in-folder/m-p/13948#M783209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do i load (Qlik script) all columns from the the latest modified ,qvd from a specific folder?&lt;/P&gt;&lt;P&gt;I saw multiple simmilar open topics on Community, but without correct anserws.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Andrei&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-last-qvd-in-folder/m-p/13948#M783209</guid>
      <dc:creator>andreip21</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: load last qvd in folder</title>
      <link>https://community.qlik.com/t5/QlikView/load-last-qvd-in-folder/m-p/13949#M783211</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Load first time or Reload ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2018 01:41:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-last-qvd-in-folder/m-p/13949#M783211</guid>
      <dc:creator>vinieme12</dc:creator>
      <dc:date>2018-03-27T01:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: load last qvd in folder</title>
      <link>https://community.qlik.com/t5/QlikView/load-last-qvd-in-folder/m-p/13950#M783213</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;can you elaborate little bit more??&lt;/P&gt;&lt;P&gt;what is your folder structure??&lt;/P&gt;&lt;P&gt;in which way you are storing file?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2018 04:09:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-last-qvd-in-folder/m-p/13950#M783213</guid>
      <dc:creator>PrashantSangle</dc:creator>
      <dc:date>2018-03-27T04:09:35Z</dc:date>
    </item>
    <item>
      <title>Re: load last qvd in folder</title>
      <link>https://community.qlik.com/t5/QlikView/load-last-qvd-in-folder/m-p/13951#M783215</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://community.qlik.com/thread/3879"&gt;Load the latest file of a folder&lt;/A&gt;&lt;/P&gt;&lt;P&gt;can You check this it may be useful &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2018 04:22:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-last-qvd-in-folder/m-p/13951#M783215</guid>
      <dc:creator>sujan24s</dc:creator>
      <dc:date>2018-03-27T04:22:42Z</dc:date>
    </item>
    <item>
      <title>Re: load last qvd in folder</title>
      <link>https://community.qlik.com/t5/QlikView/load-last-qvd-in-folder/m-p/13952#M783217</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi In general if we will get new files always and we need to load latest file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We need to write script to move existing file to Archive file and then place new fiel in the current load folder:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets assume here are the files &amp;amp; folders available in load folder:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Archive&lt;/P&gt;&lt;P&gt;sample_20180326.xlsx&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so now if we assume we have new file "sample_20180327'.xlsx, in general we will write a script to move existing 'sample_20180326.xlsx' to archive folder and then place the new file 'sample_20180327.xlsx' into load folder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In general we will ask stake holders to do the work manually or we will automate using some script&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2018 06:06:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-last-qvd-in-folder/m-p/13952#M783217</guid>
      <dc:creator>vardhancse</dc:creator>
      <dc:date>2018-03-27T06:06:52Z</dc:date>
    </item>
    <item>
      <title>Re: load last qvd in folder</title>
      <link>https://community.qlik.com/t5/QlikView/load-last-qvd-in-folder/m-p/13953#M783219</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;load first time.&lt;/P&gt;&lt;P&gt;this is how my folder looks.&lt;/P&gt;&lt;P&gt;I want to load only the last modified file (18_03_26-1600)&lt;/P&gt;&lt;P&gt;&lt;IMG alt="folder.JPG" class="jive-image image-1" src="https://community.qlik.com/legacyfs/online/197564_folder.JPG" style="height: 129px; width: 620px;" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2018 06:43:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-last-qvd-in-folder/m-p/13953#M783219</guid>
      <dc:creator>andreip21</dc:creator>
      <dc:date>2018-03-27T06:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: load last qvd in folder</title>
      <link>https://community.qlik.com/t5/QlikView/load-last-qvd-in-folder/m-p/13954#M783220</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;it's a folder from my local sharepoint. i want to load some columns from the last modified .qvd file.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2018 06:44:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-last-qvd-in-folder/m-p/13954#M783220</guid>
      <dc:creator>andreip21</dc:creator>
      <dc:date>2018-03-27T06:44:35Z</dc:date>
    </item>
    <item>
      <title>Re: load last qvd in folder</title>
      <link>https://community.qlik.com/t5/QlikView/load-last-qvd-in-folder/m-p/13955#M783221</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;each day 2 new .qvd files are appearing in this folder. when i load data, i want to load the last modified .qvd.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2018 06:47:12 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-last-qvd-in-folder/m-p/13955#M783221</guid>
      <dc:creator>andreip21</dc:creator>
      <dc:date>2018-03-27T06:47:12Z</dc:date>
    </item>
    <item>
      <title>Re: load last qvd in folder</title>
      <link>https://community.qlik.com/t5/QlikView/load-last-qvd-in-folder/m-p/13956#M783222</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use a filelist loop to get all files in the folder and then read the modified date to determine which one you want with load first and order by modified date. This approach does not work if the files are never archived. As the reload will take longer everyday (retrieving the filelist)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2018 06:51:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-last-qvd-in-folder/m-p/13956#M783222</guid>
      <dc:creator>bramkn</dc:creator>
      <dc:date>2018-03-27T06:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: load last qvd in folder</title>
      <link>https://community.qlik.com/t5/QlikView/load-last-qvd-in-folder/m-p/13957#M783223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, great theory, but i'm using qlik only for 2 months and i don't know all functions &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/sad.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2018 06:55:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-last-qvd-in-folder/m-p/13957#M783223</guid>
      <dc:creator>andreip21</dc:creator>
      <dc:date>2018-03-27T06:55:46Z</dc:date>
    </item>
    <item>
      <title>Re: load last qvd in folder</title>
      <link>https://community.qlik.com/t5/QlikView/load-last-qvd-in-folder/m-p/13958#M783224</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;FOR Each File in FileList('&amp;lt;path&amp;gt;')&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;AllQVDs:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOAD&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; '$(File)' AS QVD,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; FileTime('$(File)') AS QVDModifiedDate&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; AutoGenerate(1);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next File&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NewestQVD:&lt;/P&gt;&lt;P&gt;FIRST 1 LOAD&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QVD,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; QVDModifiedDate&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;RESIDENT &lt;SPAN style="font-size: 13.3333px;"&gt;AllQVDs&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;ORDER BY &lt;SPAN style="font-size: 13.3333px;"&gt;QVDModifiedDate &lt;/SPAN&gt;DESC;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DROP TABLE &lt;SPAN style="font-size: 13.3333px;"&gt;AllQVDs;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This will result in a table with 1 record containing the newest QVD&lt;/P&gt;&lt;P&gt;Use Peek or Lookup to get the value of the QVD and load from this path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hope this was clear enough&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2018 07:07:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-last-qvd-in-folder/m-p/13958#M783224</guid>
      <dc:creator>bramkn</dc:creator>
      <dc:date>2018-03-27T07:07:53Z</dc:date>
    </item>
    <item>
      <title>Re: load last qvd in folder</title>
      <link>https://community.qlik.com/t5/QlikView/load-last-qvd-in-folder/m-p/13959#M783225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;all clear until peek/ lookup function&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2018 07:51:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-last-qvd-in-folder/m-p/13959#M783225</guid>
      <dc:creator>andreip21</dc:creator>
      <dc:date>2018-03-27T07:51:19Z</dc:date>
    </item>
    <item>
      <title>Re: load last qvd in folder</title>
      <link>https://community.qlik.com/t5/QlikView/load-last-qvd-in-folder/m-p/13960#M783226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN class="script_token" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-weight: bold; font-size: 12px; color: #0f0f0f;"&gt;Peek(&lt;/SPAN&gt;&lt;SPAN class="bnf_token" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-size: 12px; color: #0f0f0f;"&gt;field_name[, row_no[, table_name ] ]&lt;/SPAN&gt;&lt;SPAN class="script_token" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-weight: bold; font-size: 12px; color: #0f0f0f;"&gt;)&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="script_token" style="font-family: Monaco, Menlo, Consolas, 'Courier New', monospace; font-weight: bold; font-size: 12px; color: #0f0f0f;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;So something like this:&lt;/P&gt;&lt;P&gt;Let vLastQVD = Peek('QVD',0,'NewestQVD');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;FROM '$(&lt;SPAN style="font-size: 13.3333px;"&gt;vLastQVD)' (qvd);&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Mar 2018 08:05:06 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-last-qvd-in-folder/m-p/13960#M783226</guid>
      <dc:creator>bramkn</dc:creator>
      <dc:date>2018-03-27T08:05:06Z</dc:date>
    </item>
    <item>
      <title>Re: load last qvd in folder</title>
      <link>https://community.qlik.com/t5/QlikView/load-last-qvd-in-folder/m-p/1659922#M783227</link>
      <description>&lt;P&gt;Can you help me in re-writing this for the last n files? Like if it were the last 5? This is what I have so far:&lt;/P&gt;&lt;P&gt;FOR Each File in FileList('FileLocation')&lt;/P&gt;&lt;P&gt;AllQVDs:&lt;BR /&gt;LOAD&lt;BR /&gt;'$(File)' AS QVD,&lt;BR /&gt;FileTime('$(File)') AS QVDModifiedDate&lt;BR /&gt;AutoGenerate(1);&lt;BR /&gt;Next File&lt;/P&gt;&lt;P&gt;NewestQVD:&lt;BR /&gt;FIRST 5 LOAD //determine the newest&lt;BR /&gt;QVD,&lt;BR /&gt;vFolder &amp;amp; '/' &amp;amp; QVD &amp;amp; '.qvd' as QVDFileName,&lt;BR /&gt;QVDModifiedDate&lt;BR /&gt;RESIDENT AllQVDs&lt;BR /&gt;ORDER BY QVDModifiedDate DESC;&lt;/P&gt;&lt;P&gt;DROP TABLE AllQVDs;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Set vFolder = 'FileLocation';&lt;BR /&gt;for each file in filelist(QVDFileName)&lt;BR /&gt;load * from [$(vFolder)/$(QVD)/.qvd] (qvd);&lt;BR /&gt;next File&lt;/P&gt;</description>
      <pubDate>Fri, 20 Dec 2019 21:57:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-last-qvd-in-folder/m-p/1659922#M783227</guid>
      <dc:creator>shmulu</dc:creator>
      <dc:date>2019-12-20T21:57:56Z</dc:date>
    </item>
    <item>
      <title>Re: load last qvd in folder</title>
      <link>https://community.qlik.com/t5/QlikView/load-last-qvd-in-folder/m-p/2438205#M1225566</link>
      <description>&lt;P&gt;It is easy when there is a timestamp in the QVD name, or the names of the QVDs are different.&lt;/P&gt;
&lt;P&gt;What if there's no timestamp in QVD name, and all QVDs are of same name... For example, in Google Drive, you can have multiple QVDs with same name... and if you wish to read the latest QVD, how do you do that?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Regards,&lt;/P&gt;
&lt;P&gt;Bhaskar&lt;/P&gt;</description>
      <pubDate>Fri, 05 Apr 2024 07:17:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/load-last-qvd-in-folder/m-p/2438205#M1225566</guid>
      <dc:creator>BhaskarSharma</dc:creator>
      <dc:date>2024-04-05T07:17:52Z</dc:date>
    </item>
  </channel>
</rss>

