<?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: Only Reload a QlikView document between two times in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Only-Reload-a-QlikView-document-between-two-times/m-p/1750344#M721042</link>
    <description>&lt;P&gt;Hi Marcus - yes, this gives the desired result - I'll be able to build on this logic now - thanks for your help - I'll mark this as completed!&lt;/P&gt;&lt;P&gt;Have a great day.&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;</description>
    <pubDate>Wed, 07 Oct 2020 12:42:21 GMT</pubDate>
    <dc:creator>DataKnight1</dc:creator>
    <dc:date>2020-10-07T12:42:21Z</dc:date>
    <item>
      <title>Only Reload a QlikView document between two times</title>
      <link>https://community.qlik.com/t5/QlikView/Only-Reload-a-QlikView-document-between-two-times/m-p/1749984#M721034</link>
      <description>&lt;P&gt;Hi - I want to include some logic in my load script that says only reload if it 's between 2 times, and if not then exit script.&lt;/P&gt;&lt;P&gt;For example, if the reload time is &amp;gt;=14:00 and &amp;lt;= 17:00 then exit script, else load...&lt;/P&gt;&lt;P&gt;I'm struggling to see anything relating to this.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 15 Nov 2024 23:51:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-Reload-a-QlikView-document-between-two-times/m-p/1749984#M721034</guid>
      <dc:creator>DataKnight1</dc:creator>
      <dc:date>2024-11-15T23:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Only Reload a QlikView document between two times</title>
      <link>https://community.qlik.com/t5/QlikView/Only-Reload-a-QlikView-document-between-two-times/m-p/1749985#M721035</link>
      <description>&lt;P&gt;Maybe something like this:&lt;/P&gt;&lt;P&gt;if hour(now()) &amp;gt;= 14 and&amp;nbsp;hour(now()) &amp;lt;= 17 then&lt;BR /&gt;&amp;nbsp; &amp;nbsp;exit script;&lt;BR /&gt;else&lt;BR /&gt;&amp;nbsp; &amp;nbsp;load ...&lt;BR /&gt;end if&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 13:18:22 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-Reload-a-QlikView-document-between-two-times/m-p/1749985#M721035</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-10-06T13:18:22Z</dc:date>
    </item>
    <item>
      <title>Re: Only Reload a QlikView document between two times</title>
      <link>https://community.qlik.com/t5/QlikView/Only-Reload-a-QlikView-document-between-two-times/m-p/1749987#M721036</link>
      <description>&lt;P&gt;Thanks for the quick response - I've actually got the below in my script, but it isn't working;&lt;/P&gt;&lt;P&gt;IF HOUR(NOW()) &amp;gt;= 21 AND HOUR(NOW()) &amp;lt; 5 THEN&lt;/P&gt;&lt;P&gt;My hour right now is '14', so I would expect the script to exit, however, it isn't and proceeds to connect and load...&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 13:23:30 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-Reload-a-QlikView-document-between-two-times/m-p/1749987#M721036</guid>
      <dc:creator>DataKnight1</dc:creator>
      <dc:date>2020-10-06T13:23:30Z</dc:date>
    </item>
    <item>
      <title>Re: Only Reload a QlikView document between two times</title>
      <link>https://community.qlik.com/t5/QlikView/Only-Reload-a-QlikView-document-between-two-times/m-p/1750038#M721037</link>
      <description>&lt;P&gt;I assume you execute this task on your server. If so take a look on its time (the server might be any time zone) which may different to your time.&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 14:40:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-Reload-a-QlikView-document-between-two-times/m-p/1750038#M721037</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-10-06T14:40:37Z</dc:date>
    </item>
    <item>
      <title>Re: Only Reload a QlikView document between two times</title>
      <link>https://community.qlik.com/t5/QlikView/Only-Reload-a-QlikView-document-between-two-times/m-p/1750043#M721038</link>
      <description>&lt;P&gt;I'm working locally at the moment, attempting to get it to work before doing anything re; server deployment.&lt;/P&gt;&lt;P&gt;I'm surprised, as I thought it would be a frequently asked question.&amp;nbsp; I'm aware that with Publisher, you can select reload options, however, I do not have Publisher, so want to do it in the load script.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 14:44:58 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-Reload-a-QlikView-document-between-two-times/m-p/1750043#M721038</guid>
      <dc:creator>DataKnight1</dc:creator>
      <dc:date>2020-10-06T14:44:58Z</dc:date>
    </item>
    <item>
      <title>Re: Only Reload a QlikView document between two times</title>
      <link>https://community.qlik.com/t5/QlikView/Only-Reload-a-QlikView-document-between-two-times/m-p/1750070#M721039</link>
      <description>&lt;P&gt;Just to check the times put a few trace-statements into the script, like:&lt;/P&gt;&lt;P&gt;let a =&amp;nbsp;&lt;SPAN&gt;HOUR(NOW()); let b = NOW();&lt;BR /&gt;trace $(a); trace $(b);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;and then maybe:&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;if pick(match($(a), 21,22,23,0,1,2,3,4) then&lt;BR /&gt;&amp;nbsp; &amp;nbsp;trace '... then part ...';&lt;BR /&gt;else&lt;BR /&gt;&amp;nbsp; &amp;nbsp;trace '... else part ...';&lt;BR /&gt;end if&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;What happens now - if anything is strange it should be popup now ...&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;- Marcus&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 06 Oct 2020 16:08:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-Reload-a-QlikView-document-between-two-times/m-p/1750070#M721039</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-10-06T16:08:09Z</dc:date>
    </item>
    <item>
      <title>Re: Only Reload a QlikView document between two times</title>
      <link>https://community.qlik.com/t5/QlikView/Only-Reload-a-QlikView-document-between-two-times/m-p/1750273#M721040</link>
      <description>&lt;P&gt;So, I've got the below;&lt;/P&gt;&lt;P&gt;let a = HOUR(NOW());&lt;BR /&gt;let b = NOW();&lt;BR /&gt;trace $(a);&lt;BR /&gt;trace $(b);&lt;/P&gt;&lt;P&gt;if pick(match($(a),10,11,21,22,23,0,1,2,3,4)) then&lt;BR /&gt;trace 'Do Not Load';&lt;BR /&gt;else&lt;BR /&gt;trace 'Do Load';&lt;BR /&gt;end if;&lt;/P&gt;&lt;P&gt;With the result of;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DataKnight1_0-1602063769222.png" style="width: 400px;"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/41847iEA932F34FBD4F13B/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DataKnight1_0-1602063769222.png" alt="DataKnight1_0-1602063769222.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I would have expected a result of 'Do Not Load'?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 09:43:47 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-Reload-a-QlikView-document-between-two-times/m-p/1750273#M721040</guid>
      <dc:creator>DataKnight1</dc:creator>
      <dc:date>2020-10-07T09:43:47Z</dc:date>
    </item>
    <item>
      <title>Re: Only Reload a QlikView document between two times</title>
      <link>https://community.qlik.com/t5/QlikView/Only-Reload-a-QlikView-document-between-two-times/m-p/1750341#M721041</link>
      <description>&lt;P&gt;sorry - pick() is wrong here, try:&lt;/P&gt;&lt;P&gt;let a = HOUR(NOW());&lt;BR /&gt;let b = NOW();&lt;BR /&gt;trace $(a);&lt;BR /&gt;trace $(b);&lt;/P&gt;&lt;P&gt;if match($(a),10,11,21,22,23,0,1,2,3,4) then&lt;BR /&gt;trace 'Do Not Load';&lt;BR /&gt;else&lt;BR /&gt;trace 'Do Load';&lt;BR /&gt;end if;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 12:30:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-Reload-a-QlikView-document-between-two-times/m-p/1750341#M721041</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2020-10-07T12:30:53Z</dc:date>
    </item>
    <item>
      <title>Re: Only Reload a QlikView document between two times</title>
      <link>https://community.qlik.com/t5/QlikView/Only-Reload-a-QlikView-document-between-two-times/m-p/1750344#M721042</link>
      <description>&lt;P&gt;Hi Marcus - yes, this gives the desired result - I'll be able to build on this logic now - thanks for your help - I'll mark this as completed!&lt;/P&gt;&lt;P&gt;Have a great day.&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;</description>
      <pubDate>Wed, 07 Oct 2020 12:42:21 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Only-Reload-a-QlikView-document-between-two-times/m-p/1750344#M721042</guid>
      <dc:creator>DataKnight1</dc:creator>
      <dc:date>2020-10-07T12:42:21Z</dc:date>
    </item>
  </channel>
</rss>

