<?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: Multiple Loading Scripts? in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Multiple-Loading-Scripts/m-p/1161516#M632876</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You typically will load all data every time. And then limit the data shown on each sheet by using user selections or Set Analysis. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jul 2016 23:33:38 GMT</pubDate>
    <dc:creator>rwunderlich</dc:creator>
    <dc:date>2016-07-14T23:33:38Z</dc:date>
    <item>
      <title>Multiple Loading Scripts?</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Loading-Scripts/m-p/1161512#M632872</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 have 2 sheets and each sheet requires a different data load script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So how can I have multiple load scripts..... without reloading every sheets data?&amp;nbsp; In other words - if I'm in sheet1 &amp;amp; I want to reload the data related to sheet1 (&amp;amp; not do a reload for sheet2)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(sheet1):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[@1:n]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;'Text'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;C:\Users\my_docs\folder1\data1&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;fix&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;utf8&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;no&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;(sheet2):&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;&lt;STRONG&gt;LOAD&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;[@1:n]&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;as&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #800000; font-size: 8pt;"&gt;'Text'&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;FROM&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;C:\Users\my_docs\folder1\data2&lt;SPAN style="font-size: 8pt;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt; (&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;fix&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;utf8&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;, &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;no&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt; &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;labels&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;); &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt;"&gt;So with this basic example, if I did a reload..... it's reload both?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2016 16:48:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Loading-Scripts/m-p/1161512#M632872</guid>
      <dc:creator />
      <dc:date>2016-07-14T16:48:37Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Loading Scripts?</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Loading-Scripts/m-p/1161513#M632873</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe use a trigger on activation of your sheets and set a variable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Then use this variable when reloading to switch to your correct LOAD statement.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2016 17:07:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Loading-Scripts/m-p/1161513#M632873</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-07-14T17:07:35Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Loading Scripts?</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Loading-Scripts/m-p/1161514#M632874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Won't the tables that you don't load be dropped from the data model? IMHO this is not too simple...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2016 17:18:43 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Loading-Scripts/m-p/1161514#M632874</guid>
      <dc:creator>Peter_Cammaert</dc:creator>
      <dc:date>2016-07-14T17:18:43Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Loading Scripts?</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Loading-Scripts/m-p/1161515#M632875</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it would, unless you are using partial reload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I haven't read the OP's request as to keep all the data in the other sheet, though.&lt;/P&gt;&lt;P&gt;Well, basically I don't really know what exactely the OP wants to do.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2016 17:56:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Loading-Scripts/m-p/1161515#M632875</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2016-07-14T17:56:28Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Loading Scripts?</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Loading-Scripts/m-p/1161516#M632876</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You typically will load all data every time. And then limit the data shown on each sheet by using user selections or Set Analysis. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-Rob&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://masterssummit.com" rel="nofollow" target="_blank"&gt;http://masterssummit.com&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive-link-external-small" href="http://qlikviewcookbook.com" rel="nofollow" target="_blank"&gt;http://qlikviewcookbook.com&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jul 2016 23:33:38 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Loading-Scripts/m-p/1161516#M632876</guid>
      <dc:creator>rwunderlich</dc:creator>
      <dc:date>2016-07-14T23:33:38Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple Loading Scripts?</title>
      <link>https://community.qlik.com/t5/QlikView/Multiple-Loading-Scripts/m-p/1161517#M632877</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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can adapt this script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using variable you can make conditional soime part of the script&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;// Start loading script data that needs to be load always&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // replace with first load statements&lt;/P&gt;&lt;P&gt;&amp;nbsp; &lt;/P&gt;&lt;P&gt;// check to identify if full reload is needed&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// a full reload is needed 1 time a day&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if today() &amp;gt; date(ReloadLastFull) or ReloadFullForce='Yes' 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; set ReloadType='Full';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ELSE&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set ReloadType='Partial';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; set ReloadLast='Partial';&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // set the last partial reload &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; let ReloadLastPartial = LocalTime();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; // exit point in case full reload is not neeeded&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; exit script when ReloadType='Partial'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; // data that should be load only 1 time a day &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// replace with second load statements&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// set the variable to show how was the last reload&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set ReloadLast='Full';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;set ReloadFullForce='No';&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;// set the variable to show when was the last full load&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;let ReloadLastFull = Localtime();&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 15 Jul 2016 06:47:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Multiple-Loading-Scripts/m-p/1161517#M632877</guid>
      <dc:creator />
      <dc:date>2016-07-15T06:47:23Z</dc:date>
    </item>
  </channel>
</rss>

