<?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 Looking for a way to reload script only when necessary in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Looking-for-a-way-to-reload-script-only-when-necessary/m-p/335741#M123812</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes, it is another possibility. Is there any advantage of using a Binary Load comparing to loading only the QVD ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, both cases require dependency between the first document (that prepare the QVD) and the second document (that read the prepared QVD).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, it is better that loading the second document will occur immediately after the execution of the first document, and this can be achieved by using the reloading option -&amp;nbsp; "On Event from Another Task" - in the Reload Tab in the Managemnt Console.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Guy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 04 Jun 2012 15:21:22 GMT</pubDate>
    <dc:creator />
    <dc:date>2012-06-04T15:21:22Z</dc:date>
    <item>
      <title>Looking for a way to reload script only when necessary</title>
      <link>https://community.qlik.com/t5/QlikView/Looking-for-a-way-to-reload-script-only-when-necessary/m-p/335734#M123805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am looking for a way to control the reloading of a document, so only when a certain data is available the reloading will take place.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Alliteratively, the reloading can occur every hour, but in the script it should be checked whether certain criteria is met, and if so the loading should go on, and if not the loading should stop and return to its pre-reloading state.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Guy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 11:08:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looking-for-a-way-to-reload-script-only-when-necessary/m-p/335734#M123805</guid>
      <dc:creator />
      <dc:date>2012-06-04T11:08:03Z</dc:date>
    </item>
    <item>
      <title>Looking for a way to reload script only when necessary</title>
      <link>https://community.qlik.com/t5/QlikView/Looking-for-a-way-to-reload-script-only-when-necessary/m-p/335735#M123806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;For you alternative, you can use a 2-tier data architecture. &lt;/P&gt;&lt;P&gt;1 ) Extrator: A qvw will check the condition. If it is met, it proceeds with reload and generate some qvds. If not, you can skip the reload using 'Exit script ( the qvds will not be updated)&lt;/P&gt;&lt;P&gt;2) Application: It will read qvds generated by the extractor and update the interface&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps, &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Erich&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 12:10:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looking-for-a-way-to-reload-script-only-when-necessary/m-p/335735#M123806</guid>
      <dc:creator>erichshiino</dc:creator>
      <dc:date>2012-06-04T12:10:43Z</dc:date>
    </item>
    <item>
      <title>Looking for a way to reload script only when necessary</title>
      <link>https://community.qlik.com/t5/QlikView/Looking-for-a-way-to-reload-script-only-when-necessary/m-p/335736#M123807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Erich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If i understand you right, I should have 2 QVWs that each of them run every our? if so, I think it doesn't save much time, because reading the QVD in the application each hour takes lot of time and resources from the server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe may i use the condition in my oroginal QVW, and if the condition isn't met, just quit the reloading without any impact on the document?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Guy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 12:29:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looking-for-a-way-to-reload-script-only-when-necessary/m-p/335736#M123807</guid>
      <dc:creator />
      <dc:date>2012-06-04T12:29:09Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a way to reload script only when necessary</title>
      <link>https://community.qlik.com/t5/QlikView/Looking-for-a-way-to-reload-script-only-when-necessary/m-p/335737#M123808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can wrap all your script tabs in a conditional.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE __default_attr="plain" __jive_macro_name="code" class="jive_text_macro jive_macro_code"&gt;&lt;P&gt;IF condition THEN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Table1&lt;/P&gt;&lt;P&gt;LOAD *&lt;/P&gt;&lt;P&gt;FROM ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[...] // script here&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;END IF&lt;/P&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 12:55:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looking-for-a-way-to-reload-script-only-when-necessary/m-p/335737#M123808</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-06-04T12:55:09Z</dc:date>
    </item>
    <item>
      <title>Looking for a way to reload script only when necessary</title>
      <link>https://community.qlik.com/t5/QlikView/Looking-for-a-way-to-reload-script-only-when-necessary/m-p/335738#M123809</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt; Hi Guy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think you can just Quit the reloading without any impact on the document. Because on QV server or manual reload will update your Qlikview application once the reload happen.&lt;/P&gt;&lt;P&gt;The two tire architechure explained by Erich will work in your scenario. There are many reason why should we go with two tire architechure.&amp;nbsp; One of among them is the one which you want -&amp;nbsp; Conditional reload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this help,&lt;/P&gt;&lt;P&gt;Anosh Nathaniel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 12:55:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looking-for-a-way-to-reload-script-only-when-necessary/m-p/335738#M123809</guid>
      <dc:creator />
      <dc:date>2012-06-04T12:55:52Z</dc:date>
    </item>
    <item>
      <title>Looking for a way to reload script only when necessary</title>
      <link>https://community.qlik.com/t5/QlikView/Looking-for-a-way-to-reload-script-only-when-necessary/m-p/335739#M123810</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Indeed, using two tire architecture will decrease the time and effort regarding the creation of the QVDs.&lt;/P&gt;&lt;P&gt;One thing left (though i think now it is not so significant) that still the Application tier will have to load other data in addition to the prepared QWD (because it still runs every hour).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, i am going to implememt this solution.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot pales!&lt;/P&gt;&lt;P&gt;Guy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 13:38:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looking-for-a-way-to-reload-script-only-when-necessary/m-p/335739#M123810</guid>
      <dc:creator />
      <dc:date>2012-06-04T13:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a way to reload script only when necessary</title>
      <link>https://community.qlik.com/t5/QlikView/Looking-for-a-way-to-reload-script-only-when-necessary/m-p/335740#M123811</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Guy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Note that you can do a binary load from another existing QVW, that will load &lt;STRONG&gt;only&lt;/STRONG&gt; Tables and Fields (not variables nor charts or scripts or any other items). But you can add new tables to a binary load.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 13:44:48 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looking-for-a-way-to-reload-script-only-when-necessary/m-p/335740#M123811</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-06-04T13:44:48Z</dc:date>
    </item>
    <item>
      <title>Looking for a way to reload script only when necessary</title>
      <link>https://community.qlik.com/t5/QlikView/Looking-for-a-way-to-reload-script-only-when-necessary/m-p/335741#M123812</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Yes, it is another possibility. Is there any advantage of using a Binary Load comparing to loading only the QVD ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, both cases require dependency between the first document (that prepare the QVD) and the second document (that read the prepared QVD).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, it is better that loading the second document will occur immediately after the execution of the first document, and this can be achieved by using the reloading option -&amp;nbsp; "On Event from Another Task" - in the Reload Tab in the Managemnt Console.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Guy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 15:21:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looking-for-a-way-to-reload-script-only-when-necessary/m-p/335741#M123812</guid>
      <dc:creator />
      <dc:date>2012-06-04T15:21:22Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a way to reload script only when necessary</title>
      <link>https://community.qlik.com/t5/QlikView/Looking-for-a-way-to-reload-script-only-when-necessary/m-p/335742#M123813</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It depends on how many files do you have and how many tiers do you use in your architecture. Say that you have a QVW file that loads from database all data regarding Customers storing into QVD. Then you have a second QVW that consolidates the Customer dimension, and likewise with Company, Country, Invoices... You have several QVWs each corresponding to an "entity". You can binary load one of those, then drop existing tables or add new tables...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But of course if you want to reload just after the previous successful load, use the trigger you mention. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope that helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 04 Jun 2012 15:31:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looking-for-a-way-to-reload-script-only-when-necessary/m-p/335742#M123813</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-06-04T15:31:11Z</dc:date>
    </item>
    <item>
      <title>Looking for a way to reload script only when necessary</title>
      <link>https://community.qlik.com/t5/QlikView/Looking-for-a-way-to-reload-script-only-when-necessary/m-p/335743#M123814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If i understand you right, QVD represent one table, while binary load may represent more complex stracture.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks a lot!&lt;/P&gt;&lt;P&gt;Guy&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2012 06:57:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looking-for-a-way-to-reload-script-only-when-necessary/m-p/335743#M123814</guid>
      <dc:creator />
      <dc:date>2012-06-05T06:57:27Z</dc:date>
    </item>
    <item>
      <title>Re: Looking for a way to reload script only when necessary</title>
      <link>https://community.qlik.com/t5/QlikView/Looking-for-a-way-to-reload-script-only-when-necessary/m-p/335744#M123815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Guy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That's right. A QVD stores one table, while a binary load allows you to import the whole data model from a different QVW (that in turn may consist of loads from many QVD files).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Miguel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 05 Jun 2012 07:16:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Looking-for-a-way-to-reload-script-only-when-necessary/m-p/335744#M123815</guid>
      <dc:creator>Miguel_Angel_Baeyens</dc:creator>
      <dc:date>2012-06-05T07:16:22Z</dc:date>
    </item>
  </channel>
</rss>

