<?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: Reload different sqls in same qvw at different times in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reload-different-sqls-in-same-qvw-at-different-times/m-p/950478#M950541</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;You want this to be implemented through QMC?&lt;/P&gt;&lt;P&gt;If so we can schedule two different tasks for the same QVW to run at different times with a if condition included in the script. Like SQL1 in one if condition which will be true for one reload time and false for other reload time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 04 Dec 2015 05:31:33 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-12-04T05:31:33Z</dc:date>
    <item>
      <title>Reload different sqls in same qvw at different times</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-different-sqls-in-same-qvw-at-different-times/m-p/950476#M950539</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;My qvw i have several sqls and i want to schedule the reloads of those sqls in different time frames,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;say SQL1 @ 07:00 am every day&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL 2 @ 2.30 pm every day etc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this possible&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 05:18:23 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-different-sqls-in-same-qvw-at-different-times/m-p/950476#M950539</guid>
      <dc:creator>anuradhaa</dc:creator>
      <dc:date>2015-12-04T05:18:23Z</dc:date>
    </item>
    <item>
      <title>Re: Reload different sqls in same qvw at different times</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-different-sqls-in-same-qvw-at-different-times/m-p/950477#M950540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;If&amp;nbsp; hour(Now())=7 Then&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SQL query1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Else If hour(now())=14 and min&lt;STRONG&gt;ute&lt;/STRONG&gt;(now())=30 Then&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SQL query2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; End if&lt;/P&gt;
&lt;P&gt;End if&lt;/P&gt;

&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;And the reload for the qvw has to be scheduled accordingly (at least twice at those times)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 05:29:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-different-sqls-in-same-qvw-at-different-times/m-p/950477#M950540</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-12-04T05:29:13Z</dc:date>
    </item>
    <item>
      <title>Re: Reload different sqls in same qvw at different times</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-different-sqls-in-same-qvw-at-different-times/m-p/950478#M950541</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;You want this to be implemented through QMC?&lt;/P&gt;&lt;P&gt;If so we can schedule two different tasks for the same QVW to run at different times with a if condition included in the script. Like SQL1 in one if condition which will be true for one reload time and false for other reload time.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 05:31:33 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-different-sqls-in-same-qvw-at-different-times/m-p/950478#M950541</guid>
      <dc:creator />
      <dc:date>2015-12-04T05:31:33Z</dc:date>
    </item>
    <item>
      <title>Re: Reload different sqls in same qvw at different times</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-different-sqls-in-same-qvw-at-different-times/m-p/950479#M950542</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, it works . But then the data already loaded in previous reload get disapired.&lt;/P&gt;&lt;P&gt;I want to keep the data of SQL2 when SQL1 run and vis versa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 06:43:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-different-sqls-in-same-qvw-at-different-times/m-p/950479#M950542</guid>
      <dc:creator>anuradhaa</dc:creator>
      <dc:date>2015-12-04T06:43:45Z</dc:date>
    </item>
    <item>
      <title>Re: Reload different sqls in same qvw at different times</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-different-sqls-in-same-qvw-at-different-times/m-p/950480#M950543</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can store the data in QVD's and use them&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 06:47:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-different-sqls-in-same-qvw-at-different-times/m-p/950480#M950543</guid>
      <dc:creator />
      <dc:date>2015-12-04T06:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Reload different sqls in same qvw at different times</title>
      <link>https://community.qlik.com/t5/QlikView/Reload-different-sqls-in-same-qvw-at-different-times/m-p/950481#M950544</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;TABLE border="1"&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;
&lt;P&gt;If&amp;nbsp; hour(Now())=7 Then&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: terminal,monaco;"&gt;&amp;nbsp; Table1:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SQL query1&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: terminal,monaco;"&gt;&amp;nbsp;&amp;nbsp; &lt;EM&gt;Store Table1 into table1.qvd (qvd);&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="; font-family: terminal,monaco;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load * from table2.qvd(qvd);&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Else If hour(now())=14 and min&lt;STRONG&gt;ute&lt;/STRONG&gt;(now())=30 Then&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: terminal,monaco;"&gt;Table2:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; SQL query2&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN style="font-family: terminal,monaco;"&gt; &lt;EM&gt;Store Table2 into table2.qvd (qvd);&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: terminal,monaco;"&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Load * from table1.qvd(qvd);&lt;/EM&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; End if&lt;/P&gt;
&lt;P&gt;End if&lt;/P&gt;



&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;To get this working, you have to run the &lt;STRONG&gt;store&lt;/STRONG&gt; once to get qvd created.&lt;/P&gt;&lt;P&gt;Or, you can try with &lt;SPAN style="font-family: terminal,monaco;"&gt;Partial reload&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 04 Dec 2015 07:06:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reload-different-sqls-in-same-qvw-at-different-times/m-p/950481#M950544</guid>
      <dc:creator>tresB</dc:creator>
      <dc:date>2015-12-04T07:06:04Z</dc:date>
    </item>
  </channel>
</rss>

