<?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: Delay Trigger in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Delay-Trigger/m-p/953689#M327891</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately that doesnt work as vSheets is never equal to 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vSheets is a "max" number of sheets, vShow is used to cycle from 1 - 6 (vSheets)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 15 Sep 2015 12:09:16 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-09-15T12:09:16Z</dc:date>
    <item>
      <title>Delay Trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Delay-Trigger/m-p/953687#M327889</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 a document with 6 sheets (5 actually but implemented a dedicated 6th reload sheet which triggers a reload).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i have 3 variables controlling the auto switch between sheets (each sheet has a conditional show sheet &amp;gt; vShow = 1 or vShow = 2&amp;nbsp; etc to enable or hide)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vSheets = 6;&lt;/P&gt;&lt;P&gt;vDelay = 60;&lt;/P&gt;&lt;P&gt;vShow =ceil((frac(now())*86400/(vSheets*vDelay)-floor(frac(now())*86400/(vSheets*vDelay)))*(vSheets));&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i got the above example off the net and it works brilliant to switch automatically at a set delay, but i need to change it up a bit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Delay for Sheet 1 needs to be 20 seconds and Sheet 2, 3, 4, 5, 6 needs to be 60 seconds.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Ive play'd with triggers and all sorts but i think im overcomplicating it, any help?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 11:56:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Delay-Trigger/m-p/953687#M327889</guid>
      <dc:creator />
      <dc:date>2015-09-15T11:56:51Z</dc:date>
    </item>
    <item>
      <title>Re: Delay Trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Delay-Trigger/m-p/953688#M327890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try like this:&lt;/P&gt;&lt;P&gt;add one more variable for the sheet one delay and use the if condition to act on the hide and show&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: #000000;"&gt;vSheets = 6;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;vDelay = 60;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;vDelay1=20;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;vShow =if(&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vSheets=1,&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;ceil((frac(now())*86400/(vSheets*&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vDelay1&lt;/SPAN&gt;)-floor(frac(now())*86400/(vSheets*&lt;SPAN style="color: #000000; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; font-size: 13px;"&gt;vDelay1&lt;/SPAN&gt;)))*(vSheets)),&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;ceil((frac(now())*86400/(vSheets*vDelay)-floor(frac(now())*86400/(vSheets*vDelay)))*(vSheets))&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #000000;"&gt;);&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 12:01:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Delay-Trigger/m-p/953688#M327890</guid>
      <dc:creator>avinashelite</dc:creator>
      <dc:date>2015-09-15T12:01:19Z</dc:date>
    </item>
    <item>
      <title>Re: Delay Trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Delay-Trigger/m-p/953689#M327891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately that doesnt work as vSheets is never equal to 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vSheets is a "max" number of sheets, vShow is used to cycle from 1 - 6 (vSheets)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 12:09:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Delay-Trigger/m-p/953689#M327891</guid>
      <dc:creator />
      <dc:date>2015-09-15T12:09:16Z</dc:date>
    </item>
    <item>
      <title>Re: Delay Trigger</title>
      <link>https://community.qlik.com/t5/QlikView/Delay-Trigger/m-p/953690#M327892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could use the id from the current sheet to have indiviual delays for each sheet:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vDelay = pick(match(getactivesheetid(), 'Document\SH01', ...), 20, 60, ...)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 15 Sep 2015 12:25:00 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Delay-Trigger/m-p/953690#M327892</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2015-09-15T12:25:00Z</dc:date>
    </item>
  </channel>
</rss>

