<?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: Field value - Reload in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Field-value-Reload/m-p/1417860#M811413</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exit script does not generate an error, so your qvw will succeed and next task will execute&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Oct 2017 13:03:41 GMT</pubDate>
    <dc:creator>Clever_Anjos</dc:creator>
    <dc:date>2017-10-09T13:03:41Z</dc:date>
    <item>
      <title>Field value - Reload</title>
      <link>https://community.qlik.com/t5/QlikView/Field-value-Reload/m-p/1417857#M811410</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to check a value in a table and based on that is it possible to stop a scheduled refresh?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As of now all our dashboards run every morning at 5 am. But some days the DB reload gets delayed due to some issues and so the dashboards reload with no data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To avoid this , DB team has come up with a table called db_availability. this has values like true or false. True being DB reload completed and successful and false - still running or failed DB reload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it possible to check these values during the scheduled run and only when the value true start the reload or else the reload shouldn't happen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated. Kindly let me know if the requirement is unclear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anupama Jagan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 25 Nov 2020 16:16:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-value-Reload/m-p/1417857#M811410</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Field value - Reload</title>
      <link>https://community.qlik.com/t5/QlikView/Field-value-Reload/m-p/1417858#M811411</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use a small trick&lt;/P&gt;&lt;P&gt;Create a small qvw that has a script similar to this&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SQL&lt;/P&gt;&lt;P&gt;Select status from db_availability;&lt;/P&gt;&lt;P&gt;Let check=peek('status');&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If check = 0 then&lt;/P&gt;&lt;P&gt;Store unexsitingtable into xxx.qvd(qvd);// This will cause an error&lt;/P&gt;&lt;P&gt;endif&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So at QMC schedule your dashboards to run after sucess into that small qvw. Since it fails, your dashboards won´t reload, keeping their data&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 11:25:37 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-value-Reload/m-p/1417858#M811411</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2017-10-09T11:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Field value - Reload</title>
      <link>https://community.qlik.com/t5/QlikView/Field-value-Reload/m-p/1417859#M811412</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;or instead of the error use: &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;If check = 0 then&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;Exit script;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;endif&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3d3d3d;"&gt;&lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 12:58:40 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-value-Reload/m-p/1417859#M811412</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-09T12:58:40Z</dc:date>
    </item>
    <item>
      <title>Re: Field value - Reload</title>
      <link>https://community.qlik.com/t5/QlikView/Field-value-Reload/m-p/1417860#M811413</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exit script does not generate an error, so your qvw will succeed and next task will execute&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Oct 2017 13:03:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-value-Reload/m-p/1417860#M811413</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2017-10-09T13:03:41Z</dc:date>
    </item>
    <item>
      <title>Re: Field value - Reload</title>
      <link>https://community.qlik.com/t5/QlikView/Field-value-Reload/m-p/1417861#M811414</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Clever Anjos,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I just have a small doubt..our status actually has value true or false . so does peek change the true /false to 1/0?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Anupama Jagan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 08:38:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-value-Reload/m-p/1417861#M811414</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-10-10T08:38:45Z</dc:date>
    </item>
    <item>
      <title>Re: Field value - Reload</title>
      <link>https://community.qlik.com/t5/QlikView/Field-value-Reload/m-p/1417862#M811415</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I´m assuming it´s value 0/1, (Had no clue about it &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt; )&lt;BR /&gt;You can trace the value so you can make the proper change&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000; background-color: #f2f2f2;"&gt;SQL&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000; background-color: #f2f2f2;"&gt;Select status from db_availability;&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000; background-color: #f2f2f2;"&gt;Let check=peek('status');&lt;/P&gt;&lt;P style="font-size: 12px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000; background-color: #f2f2f2;"&gt;trace value of check = $(check);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Oct 2017 10:27:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Field-value-Reload/m-p/1417862#M811415</guid>
      <dc:creator>Clever_Anjos</dc:creator>
      <dc:date>2017-10-10T10:27:56Z</dc:date>
    </item>
  </channel>
</rss>

