<?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: Conditonal Reload in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Conditonal-Reload/m-p/1590152#M596373</link>
    <description>Onreload the qvw purges all pas memory. for above to work you need to save the data as a qvd and reload that if no change has occured.&lt;BR /&gt;e.g.&lt;BR /&gt;IF vChange = 1 THEN&lt;BR /&gt;SQL UPDATE {reset data to indicate nothing has changed};&lt;BR /&gt;ELSE&lt;BR /&gt;//load all the necessary tables from qvd&lt;BR /&gt;LOAD * FROM xyz.qvd (qvd);&lt;BR /&gt;exit script;&lt;BR /&gt;endif&lt;BR /&gt;//rest of your code&lt;BR /&gt;//at the end store all the necessary tables in qvd&lt;BR /&gt;Store mytable into xyz.qvd (qvd);&lt;BR /&gt;&lt;BR /&gt;also checkout incremental load. might help you finetune your load&lt;BR /&gt;&lt;A href="https://www.analyticsvidhya.com/blog/2014/09/qlikview-incremental-load/" target="_blank"&gt;https://www.analyticsvidhya.com/blog/2014/09/qlikview-incremental-load/&lt;/A&gt;</description>
    <pubDate>Mon, 10 Jun 2019 18:45:04 GMT</pubDate>
    <dc:creator>dplr-rn</dc:creator>
    <dc:date>2019-06-10T18:45:04Z</dc:date>
    <item>
      <title>Conditonal Reload</title>
      <link>https://community.qlik.com/t5/QlikView/Conditonal-Reload/m-p/1590148#M596372</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I have a database which can be updated at any point, however I don't want to place a constant load on the server by completely reloading the tables into Qlik Sense all the time, so I'm looking for a way to check if the database has been updated, and if so reload all the tables. However - if the database hasn't changed, the load script should just keep the data that was loaded previously. I've found a way to check for a change in the data, and to load everything if a change has taken place...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;BUT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If no change has taken place, and my script exits - my model is empty. Obviously I've missed something - what should I try to ensure that my model isn't empty. The code I'm using goes something like this:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;{Set initial standard variables}
LIB CONNECT TO [database]
[Temp_table]:
SQL {single value to indicate change};
Let vChange = FieldValue('sql_changed', 1);
IF vChange = 1 THEN
  SQL UPDATE {reset data to indicate nothing has changed};
ELSE
  Exit Script; &amp;lt;-- This is obviously wrong
ENDIF
{code continues for full load}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help here would be appreciated.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Jun 2019 18:18:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditonal-Reload/m-p/1590148#M596372</guid>
      <dc:creator>dcp1</dc:creator>
      <dc:date>2019-06-10T18:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Conditonal Reload</title>
      <link>https://community.qlik.com/t5/QlikView/Conditonal-Reload/m-p/1590152#M596373</link>
      <description>Onreload the qvw purges all pas memory. for above to work you need to save the data as a qvd and reload that if no change has occured.&lt;BR /&gt;e.g.&lt;BR /&gt;IF vChange = 1 THEN&lt;BR /&gt;SQL UPDATE {reset data to indicate nothing has changed};&lt;BR /&gt;ELSE&lt;BR /&gt;//load all the necessary tables from qvd&lt;BR /&gt;LOAD * FROM xyz.qvd (qvd);&lt;BR /&gt;exit script;&lt;BR /&gt;endif&lt;BR /&gt;//rest of your code&lt;BR /&gt;//at the end store all the necessary tables in qvd&lt;BR /&gt;Store mytable into xyz.qvd (qvd);&lt;BR /&gt;&lt;BR /&gt;also checkout incremental load. might help you finetune your load&lt;BR /&gt;&lt;A href="https://www.analyticsvidhya.com/blog/2014/09/qlikview-incremental-load/" target="_blank"&gt;https://www.analyticsvidhya.com/blog/2014/09/qlikview-incremental-load/&lt;/A&gt;</description>
      <pubDate>Mon, 10 Jun 2019 18:45:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Conditonal-Reload/m-p/1590152#M596373</guid>
      <dc:creator>dplr-rn</dc:creator>
      <dc:date>2019-06-10T18:45:04Z</dc:date>
    </item>
  </channel>
</rss>

