<?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 QVD Load with appending daily data in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/QVD-Load-with-appending-daily-data/m-p/152314#M714287</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 have historical data that never changes. Currently I load into Qlikview like this:&lt;/P&gt;&lt;P&gt;LOAD record1, record 2, record3,...,recordn, date;&lt;/P&gt;&lt;P&gt;SQL SELECT record1, record 2, record3,...,recordn, date from MySQLTable WHERE record1 = X;&lt;/P&gt;&lt;P&gt;STORE MySQL Table into \file\;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use this format for several sql select statements. I want to be able to have this data stay in qlikview (or qvd) and then just append one day's data at the end of the day. Can I do this without having to reload all the data? If I do how do I write it and if I don't also how do I write it? Do I have to make another tab or can I keep it in this tab?&lt;/P&gt;&lt;P&gt;I am not even sure I am using the .qvd STORE correctly and for its intended purpose - any thoughts? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 06 Aug 2010 19:13:48 GMT</pubDate>
    <dc:creator />
    <dc:date>2010-08-06T19:13:48Z</dc:date>
    <item>
      <title>QVD Load with appending daily data</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-Load-with-appending-daily-data/m-p/152314#M714287</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 have historical data that never changes. Currently I load into Qlikview like this:&lt;/P&gt;&lt;P&gt;LOAD record1, record 2, record3,...,recordn, date;&lt;/P&gt;&lt;P&gt;SQL SELECT record1, record 2, record3,...,recordn, date from MySQLTable WHERE record1 = X;&lt;/P&gt;&lt;P&gt;STORE MySQL Table into \file\;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I use this format for several sql select statements. I want to be able to have this data stay in qlikview (or qvd) and then just append one day's data at the end of the day. Can I do this without having to reload all the data? If I do how do I write it and if I don't also how do I write it? Do I have to make another tab or can I keep it in this tab?&lt;/P&gt;&lt;P&gt;I am not even sure I am using the .qvd STORE correctly and for its intended purpose - any thoughts? Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 19:13:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-Load-with-appending-daily-data/m-p/152314#M714287</guid>
      <dc:creator />
      <dc:date>2010-08-06T19:13:48Z</dc:date>
    </item>
    <item>
      <title>QVD Load with appending daily data</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-Load-with-appending-daily-data/m-p/152315#M714288</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You're using the store command just fine. Yes, you can do this. It's called "incremental load". If you search for that in the reference manual, you'll find an explanation and script examples.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 06 Aug 2010 19:19:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-Load-with-appending-daily-data/m-p/152315#M714288</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-08-06T19:19:48Z</dc:date>
    </item>
    <item>
      <title>QVD Load with appending daily data</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-Load-with-appending-daily-data/m-p/152316#M714289</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is how i would do it&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;//Declare a variable&lt;/P&gt;&lt;P&gt;let vCurrentDay = DATE((date(Today()) - 1), 'YYYY-MM-DD hh:mm:ss[.fff]');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In your temp table only load data from the previous day&lt;/P&gt;&lt;P&gt;MySQLTableTMP:&lt;BR /&gt;&lt;BR /&gt;SQL SELECT *&lt;BR /&gt;FROM MySQLTable&lt;BR /&gt;WHERE date &amp;gt;= '$(vCurrentDay)';&lt;BR /&gt;&lt;BR /&gt;store MySQLTableTMP into E:\Qlikview\Data\MySQLTableTMP_$(vToday).qvd;//only if you want to track daily changes&lt;/P&gt;&lt;P&gt;//append data to the existing data&lt;/P&gt;&lt;P&gt;concatenate (MySQLTableTMP) //yesterdays data&lt;BR /&gt;LOAD *&lt;BR /&gt;FROM E:\Qlikview\Data\MySQLTable.qvd (qvd);// exisitng qvd&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;MySQLTable:&lt;BR /&gt;noconcatenate&lt;BR /&gt;LOAD distinct *&lt;BR /&gt;resident MySQLTableTMP;&lt;BR /&gt;&lt;BR /&gt;drop table MySQLTableTMP;&lt;BR /&gt;store MySQLTable into &lt;E&gt;;&lt;BR /&gt;drop table MySQLTable ;&lt;/E&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Aug 2010 19:04:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-Load-with-appending-daily-data/m-p/152316#M714289</guid>
      <dc:creator />
      <dc:date>2010-08-10T19:04:16Z</dc:date>
    </item>
    <item>
      <title>QVD Load with appending daily data</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-Load-with-appending-daily-data/m-p/152317#M714290</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The line&lt;/P&gt;&lt;P&gt;drop table MySQLTable;&lt;/P&gt;&lt;P&gt;at the end of the script just drops the table in qlikview, right? It doesn't drop the table in MySQL?&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Aug 2010 17:30:01 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-Load-with-appending-daily-data/m-p/152317#M714290</guid>
      <dc:creator />
      <dc:date>2010-08-18T17:30:01Z</dc:date>
    </item>
    <item>
      <title>QVD Load with appending daily data</title>
      <link>https://community.qlik.com/t5/QlikView/QVD-Load-with-appending-daily-data/m-p/152318#M714291</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="jive_text_macro jive_macro_quote" jivemacro="quote"&gt;&lt;BR /&gt;JulieSIG wrote:drop table MySQLTable;&lt;BR /&gt;at the end of the script just drops the table in qlikview, right? It doesn't drop the table in MySQL?&lt;/PRE&gt;&lt;BR /&gt;&lt;BR /&gt; &lt;P&gt;Correct. It does not do anything to the ACTUAL table in your database system.&lt;/P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Aug 2010 18:18:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/QVD-Load-with-appending-daily-data/m-p/152318#M714291</guid>
      <dc:creator>johnw</dc:creator>
      <dc:date>2010-08-18T18:18:09Z</dc:date>
    </item>
  </channel>
</rss>

