<?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: Update a resident table in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Update-a-resident-table/m-p/1181804#M628170</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the script you are using right now?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Sep 2016 00:27:15 GMT</pubDate>
    <dc:creator>sunny_talwar</dc:creator>
    <dc:date>2016-09-13T00:27:15Z</dc:date>
    <item>
      <title>Update a resident table</title>
      <link>https://community.qlik.com/t5/QlikView/Update-a-resident-table/m-p/1181803#M628169</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have a qvw that loads daily qvd's. I would like for it to just add one day everyday rather than reload the entire period of time. Currently it reloads the last two weeks worth of individual qvd's. I attempted to do an add load, but that didn't work. Any help is appreciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 12 Sep 2016 23:46:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Update-a-resident-table/m-p/1181803#M628169</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-12T23:46:35Z</dc:date>
    </item>
    <item>
      <title>Re: Update a resident table</title>
      <link>https://community.qlik.com/t5/QlikView/Update-a-resident-table/m-p/1181804#M628170</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What is the script you are using right now?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 00:27:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Update-a-resident-table/m-p/1181804#M628170</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2016-09-13T00:27:15Z</dc:date>
    </item>
    <item>
      <title>Re: Update a resident table</title>
      <link>https://community.qlik.com/t5/QlikView/Update-a-resident-table/m-p/1181805#M628171</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is a simplified version of it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR i &lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;= today()-15 to today()-1&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;LET FILE_Date = date($(i),'yyyyMMdd');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T1:&lt;/P&gt;&lt;P&gt;LOAD date, A, B, C&lt;/P&gt;&lt;P&gt;FROM QVD1$(FILE_Date).qvd&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;T2&lt;/P&gt;&lt;P&gt;LOAD date, A, B, D&lt;/P&gt;&lt;P&gt;FROM QVD2&lt;SPAN style="font-size: 13.3333px;"&gt;$(FILE_Date)&lt;/SPAN&gt;.qvd&lt;/P&gt;&lt;P&gt;;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;NEXT i;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 01:41:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Update-a-resident-table/m-p/1181805#M628171</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-13T01:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Update a resident table</title>
      <link>https://community.qlik.com/t5/QlikView/Update-a-resident-table/m-p/1181806#M628172</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like this (just some steps that can be easily translated into QV script):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Load History QVD (if it exists)&lt;/LI&gt;&lt;LI&gt;Pick latest date from history file or set latest date to some "first" date if no history&lt;/LI&gt;&lt;LI&gt;For vDay = LatestDateFromHistory + 1 to Today()&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp; Assemble correct file name based on vDay value&lt;/LI&gt;&lt;LI&gt;&amp;nbsp;&amp;nbsp; Add records from this QVD to resident table&lt;/LI&gt;&lt;LI&gt;Next&lt;/LI&gt;&lt;LI&gt;Store resident table into history QVD&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you don't drop the resident table at the end, you'll have an updated internal table, whether you script runs every day or not (fail safe)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Peter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 07:19:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Update-a-resident-table/m-p/1181806#M628172</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-09-13T07:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Update a resident table</title>
      <link>https://community.qlik.com/t5/QlikView/Update-a-resident-table/m-p/1181807#M628173</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;How would I do that in the script. Particularly your Step 5. I have been throw right into Qlikview and not very familiar with it. I am looking at just updating the internal table so I don't have to create more QVDs. The daily QVD is created every night for the day just ending so it is always a day behind, then this report runs after the latest QVD has been created. I tried ADD LOAD, but when I ran it, it overwrote the historic data and only added yesterday.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Sep 2016 16:20:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Update-a-resident-table/m-p/1181807#M628173</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2016-09-13T16:20:14Z</dc:date>
    </item>
  </channel>
</rss>

