<?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: displaying multiple sheets in timely fashion in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/displaying-multiple-sheets-in-timely-fashion/m-p/298030#M1183960</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andre,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try looking at this discussion.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/171899#171899"&gt;http://community.qlik.com/message/171899#171899&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The QVW file in that discussion uses a variable to create a live second ticker.&lt;/P&gt;&lt;P&gt;The display of the sheets is then triggered by the show conditions that use these seconds.&lt;/P&gt;&lt;P&gt;Just check it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;Jakob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 14 Dec 2011 12:10:59 GMT</pubDate>
    <dc:creator>jjfabian</dc:creator>
    <dc:date>2011-12-14T12:10:59Z</dc:date>
    <item>
      <title>displaying multiple sheets in timely fashion</title>
      <link>https://community.qlik.com/t5/QlikView/displaying-multiple-sheets-in-timely-fashion/m-p/298029#M1183958</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;May be a 'stupid' newbie question but here it is.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a document with mutliple sheets each contain different figures/data. I need to display them as a repeated loop each for a period of time.&lt;/P&gt;&lt;P&gt;I managed to do it using the now() command and 3 variables vsecond, vminute, vtimer&lt;/P&gt;&lt;P&gt;vminute is checked if it is odd or even. vtimer=vsecond + 0 (odd) or +60 (even) this gave me a 2' loop.&lt;/P&gt;&lt;P&gt;each sheet display with a condition which is:&lt;/P&gt;&lt;P&gt;first: 0&amp;lt;vtimer&amp;lt;40&lt;/P&gt;&lt;P&gt;second: 40&amp;lt;vtimer&amp;lt;80&lt;/P&gt;&lt;P&gt;third: 80&amp;lt;vtimer&amp;lt;120&lt;/P&gt;&lt;P&gt;THis seems to work but I am limited to 2' loop which is no good for later and not very flexible and&amp;nbsp; Now() according the manual should be avoided been system heavy. &lt;/P&gt;&lt;P&gt;Is there a better way to do it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;andre&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 08:06:46 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/displaying-multiple-sheets-in-timely-fashion/m-p/298029#M1183958</guid>
      <dc:creator />
      <dc:date>2011-12-14T08:06:46Z</dc:date>
    </item>
    <item>
      <title>Re: displaying multiple sheets in timely fashion</title>
      <link>https://community.qlik.com/t5/QlikView/displaying-multiple-sheets-in-timely-fashion/m-p/298030#M1183960</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Andre,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;try looking at this discussion.&lt;/P&gt;&lt;P&gt;&lt;A _jive_internal="true" href="https://community.qlik.com/message/171899#171899"&gt;http://community.qlik.com/message/171899#171899&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The QVW file in that discussion uses a variable to create a live second ticker.&lt;/P&gt;&lt;P&gt;The display of the sheets is then triggered by the show conditions that use these seconds.&lt;/P&gt;&lt;P&gt;Just check it out.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Good luck,&lt;/P&gt;&lt;P&gt;Jakob&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 12:10:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/displaying-multiple-sheets-in-timely-fashion/m-p/298030#M1183960</guid>
      <dc:creator>jjfabian</dc:creator>
      <dc:date>2011-12-14T12:10:59Z</dc:date>
    </item>
    <item>
      <title>displaying multiple sheets in timely fashion</title>
      <link>https://community.qlik.com/t5/QlikView/displaying-multiple-sheets-in-timely-fashion/m-p/298031#M1183961</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok thanks for the info. I have solved it and here is ohw I did it.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;created a csv called 'timing.csv' with 1 column as follow&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Seconds&lt;/P&gt;&lt;P&gt;10&lt;/P&gt;&lt;P&gt;20&lt;/P&gt;&lt;P&gt;5&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;in Script I created a tab called timing with this code inside:&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[Timing]:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt; recno() as Tab,&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;rangesum(Seconds,peek(Seconds)) as Seconds&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;FROM&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;E&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/E&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;// used to display timing value in sheet &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//LOAD&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; [Seconds] as [mySec] &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//FROM&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;//&lt;E&gt;(txt, codepage is 1252, embedded labels, delimiter is ',', msq);&lt;/E&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;[Show]:&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LOAD &lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;'=' &amp;amp; concat('if(vSeconds&amp;lt;' &amp;amp; Seconds &amp;amp; ',' &amp;amp; Tab,'&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;,') &amp;amp; repeat(')',max(Tab)) as Show&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;,'=mod(round((now()-now(2))*86400),' &amp;amp; max(Seconds) &amp;amp; ')' as Seconds&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;RESIDENT Timing;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LET vShow = peek('Show');&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;LET vSeconds = peek('Seconds');&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;DROP TABLES [Show], [Timing];&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;let vActivated = 0;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;In tools Edit Module I added this code:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;Sub ReloadData&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ActiveDocument.ClearAll&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;ActiveDocument.reloadex 0,1&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;End Sub&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;in each script I added in General - Conditional this:&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;vShow=1&amp;nbsp; or $(vActivated)=1&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;vShow: 1 of first sheet, 2 for Second, etc....&lt;/P&gt;&lt;P&gt;vActivated is used to stop the slideshow&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in each sheet title (text) I added an Action 'set Variable'&lt;/P&gt;&lt;P&gt;vActivated with value =if($(vActivated)=0,1,0)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;On the last sheet in Trigger OnleaveSheet I have added this action:&lt;/P&gt;&lt;P&gt;Run Macro&lt;/P&gt;&lt;P&gt;Macro name: ReloadData&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;To change the timing no need to edit the code&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;just change value in csv file&lt;/P&gt;&lt;P&gt;at the next reload the timing will be updated&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Dec 2011 16:31:07 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/displaying-multiple-sheets-in-timely-fashion/m-p/298031#M1183961</guid>
      <dc:creator />
      <dc:date>2011-12-14T16:31:07Z</dc:date>
    </item>
  </channel>
</rss>

