<?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: Can partial reload help in this case in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Can-partial-reload-help-in-this-case/m-p/592280#M219609</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone please provide few advice on the above post?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 04 Feb 2014 09:35:52 GMT</pubDate>
    <dc:creator>sudeepkm</dc:creator>
    <dc:date>2014-02-04T09:35:52Z</dc:date>
    <item>
      <title>Can partial reload help in this case</title>
      <link>https://community.qlik.com/t5/QlikView/Can-partial-reload-help-in-this-case/m-p/592279#M219608</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you guys pls advice me a solution for the given below scenario.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've bunch of xls files as datasource and loading data from it and using a QVDgen, I'm creating a QVD out of it.&lt;/P&gt;&lt;P&gt;There is a task created in QMC for this QVDGen qvw file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've my main UI QVW that loads data from this QVD.&lt;/P&gt;&lt;P&gt;There is a task created in QMC for this UI QVW file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible that I run the UI QVW task whenever the QVD has new data. Can Partial Reload help in this case? &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 31 Jan 2014 12:27:02 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-partial-reload-help-in-this-case/m-p/592279#M219608</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2014-01-31T12:27:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can partial reload help in this case</title>
      <link>https://community.qlik.com/t5/QlikView/Can-partial-reload-help-in-this-case/m-p/592280#M219609</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Can anyone please provide few advice on the above post?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 09:35:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-partial-reload-help-in-this-case/m-p/592280#M219609</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2014-02-04T09:35:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can partial reload help in this case</title>
      <link>https://community.qlik.com/t5/QlikView/Can-partial-reload-help-in-this-case/m-p/592281#M219610</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;UL&gt;&lt;LI&gt;You can combine tasks. Trigger the UI-Reload when the QVD-creator finishes his work succesfully. You might be able to control what "successful" is, meaning you could let the QVD creator produce an error on purpose so that the next tak will not start untill you want it to start.&lt;/LI&gt;&lt;LI&gt;Another way would be using EDX-Trigger to start your UI-Reload from the QVD-creator.&lt;/LI&gt;&lt;LI&gt;One more: your idea with using partial reload would also work. Just let the UI reload every 10 minutes checking i.e. if there is a new filetime() on your QVDs. If that is the case REPLACE or ADD LOAD the new QVD-tables. If that is not the case just exit script.&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think, the last way would be the most elegant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is that a sufficient description?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;KR&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Matthias&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 09:55:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-partial-reload-help-in-this-case/m-p/592281#M219610</guid>
      <dc:creator />
      <dc:date>2014-02-04T09:55:30Z</dc:date>
    </item>
    <item>
      <title>Re: Can partial reload help in this case</title>
      <link>https://community.qlik.com/t5/QlikView/Can-partial-reload-help-in-this-case/m-p/592282#M219611</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;The first one (Intentional fail) is not accepted by our code reviewers as it is not a best practice to fail a task intentionally to "run" or "not run" the dependent task.&lt;/P&gt;&lt;P&gt;The second option is something I'm not aware of or do not have an example with me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently trying the third option and given below is the code I'm using.&lt;/P&gt;&lt;P&gt;The UI task I created is enabled as Partial Reload. Can you please give me an idea whether should I create another task for the UI to have a full reload in case of any side effect of the partial reload to fail some data. I think a single task cannot be treated as both full and partial reload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let vqvdtime= QvdCreateTime('tabl.qvd')*1;&lt;/P&gt;&lt;P&gt;let vnowtime= now()-1/600; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if IsPartialReload() then &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; if '$(vqvdtime)'&amp;gt;='$(vnowtime)' then&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Replace load * from tabl.qvd(qvd); // The qvd has fresh data to be loaded&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TRACE 'QVD refreshed recently so all data from QVD should be loaded';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ELSE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TRACE 'No data to be loaded';&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; EXIT Script; // do nothing&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF&lt;/P&gt;&lt;P&gt;ELSE&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; load * from tabl.qvd(qvd); // no Partial reload&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TRACE 'Not a Partial reload and all data to be loaded';&lt;/P&gt;&lt;P&gt;ENDIF&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 10:22:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-partial-reload-help-in-this-case/m-p/592282#M219611</guid>
      <dc:creator>sudeepkm</dc:creator>
      <dc:date>2014-02-04T10:22:28Z</dc:date>
    </item>
    <item>
      <title>Re: Can partial reload help in this case</title>
      <link>https://community.qlik.com/t5/QlikView/Can-partial-reload-help-in-this-case/m-p/592283#M219612</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;A partial reload is almost the same as a full reload if you use REPLACE on all LOAD-statements. Your code should work.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 04 Feb 2014 10:30:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Can-partial-reload-help-in-this-case/m-p/592283#M219612</guid>
      <dc:creator />
      <dc:date>2014-02-04T10:30:23Z</dc:date>
    </item>
  </channel>
</rss>

