<?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 Using QVD files to build historical data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Using-QVD-files-to-build-historical-data/m-p/145750#M24399</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response, I can get that working now.&lt;/P&gt;&lt;P&gt;I would, howver still like to know, if there is a clever solution out there for maybe sequentially numbering each qvd rather than timestamping it.&lt;/P&gt;&lt;P&gt;Can anybody think of any clever ways to do this - I am stumped..&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 08 Jun 2009 15:20:23 GMT</pubDate>
    <dc:creator />
    <dc:date>2009-06-08T15:20:23Z</dc:date>
    <item>
      <title>Using QVD files to build historical data</title>
      <link>https://community.qlik.com/t5/QlikView/Using-QVD-files-to-build-historical-data/m-p/145748#M24397</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I need to store QVDs on a weekly basis of some data read in from an Excel file.&lt;BR /&gt;Somehow I also need to stamp each one with a date field, and also incorporate that date in the qvd file name.&lt;/P&gt;&lt;P&gt;Can anyone tell me how I can include it in the filename?&lt;BR /&gt;The LOAD statement will obviously contain the date field Now().&lt;/P&gt;&lt;P&gt;also, is there a way of instead of creating a date field in the table, to have a counter? like a filenumber, which increments each time the qvd is stored?&lt;/P&gt;&lt;P&gt;Sorry, a few things in one there..&lt;/P&gt;&lt;P&gt;thanks in advance,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 18:34:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-QVD-files-to-build-historical-data/m-p/145748#M24397</guid>
      <dc:creator />
      <dc:date>2009-06-03T18:34:40Z</dc:date>
    </item>
    <item>
      <title>Using QVD files to build historical data</title>
      <link>https://community.qlik.com/t5/QlikView/Using-QVD-files-to-build-historical-data/m-p/145749#M24398</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For storing the QVD Files, use a variable in the following way:&lt;/P&gt;&lt;P&gt;Let V=Date(Today(),'YYYYMMDD');&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;Store TableX into TableX_$(V).qvd;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use the variable to keep the sequence number if you want to use it instead of the dates.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 03 Jun 2009 18:56:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-QVD-files-to-build-historical-data/m-p/145749#M24398</guid>
      <dc:creator />
      <dc:date>2009-06-03T18:56:57Z</dc:date>
    </item>
    <item>
      <title>Using QVD files to build historical data</title>
      <link>https://community.qlik.com/t5/QlikView/Using-QVD-files-to-build-historical-data/m-p/145750#M24399</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the response, I can get that working now.&lt;/P&gt;&lt;P&gt;I would, howver still like to know, if there is a clever solution out there for maybe sequentially numbering each qvd rather than timestamping it.&lt;/P&gt;&lt;P&gt;Can anybody think of any clever ways to do this - I am stumped..&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2009 15:20:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-QVD-files-to-build-historical-data/m-p/145750#M24399</guid>
      <dc:creator />
      <dc:date>2009-06-08T15:20:23Z</dc:date>
    </item>
    <item>
      <title>Using QVD files to build historical data</title>
      <link>https://community.qlik.com/t5/QlikView/Using-QVD-files-to-build-historical-data/m-p/145751#M24400</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could have a variable that is set first time when the application is reloaded and after that increased by 1 every reload. Use that variable at the beggining of the file name.&lt;/P&gt;&lt;P&gt;if isnull(counter) or len(counter)=0 then&lt;BR /&gt;set counter = 1;&lt;BR /&gt;end if&lt;/P&gt;&lt;P&gt;store tmp into $(counter)_history.qvd;&lt;/P&gt;&lt;P&gt;when loading history data you can that itterate i from 1 to counter and load like this:&lt;/P&gt;&lt;P&gt;concatenate(history)&lt;BR /&gt;load *, '$(i)' as historyID&lt;BR /&gt;&lt;BR /&gt;from [$(counter)_history.qvd] (qvd);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2009 21:10:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-QVD-files-to-build-historical-data/m-p/145751#M24400</guid>
      <dc:creator />
      <dc:date>2009-06-08T21:10:53Z</dc:date>
    </item>
    <item>
      <title>Using QVD files to build historical data</title>
      <link>https://community.qlik.com/t5/QlikView/Using-QVD-files-to-build-historical-data/m-p/145752#M24401</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Matt,&lt;/P&gt;&lt;P&gt;What i have shown is the way to control the name of QVD Files using variables. Instead of storing TimeStamp, you could assign a number to the variable, and that should be sufficient for sequentially numbering your files.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Jun 2009 21:12:10 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Using-QVD-files-to-build-historical-data/m-p/145752#M24401</guid>
      <dc:creator />
      <dc:date>2009-06-08T21:12:10Z</dc:date>
    </item>
  </channel>
</rss>

