<?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 Application that cycles through variable values automatically in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Application-that-cycles-through-variable-values-automatically/m-p/846209#M297074</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dashboard application that is intended to go up on a screen as a status update, and I need it to cycle through a series of values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The short explanation is that it's using set analysis with a variable that is cycling through a number of variables to modify the contents of the charts in the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have it set up thusly: (actually, I've tried two ways)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) an action that changes the variable value according to the method I want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) a vb macro that does the same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried converting the VB macro into something that runs in an infinite loop: apart from not quite working correctly in the desktop, the catch is that macros like this don't run on the server when viewing the document via AJAX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also tried setting the action on after open of the document, and causing my browser window to refresh, but the document doesn't seem to consider the refresh action (or even a full browser close and re-open) to be a document 'open' and so, the value doesn't cycle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any solutions that I haven't thought of?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have now also tried an onAfterReload action that does the cycling, and setting the reload to happen very frequently. I also then set the automatic update on reload parameters in the management console... Still no love. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 May 2015 22:59:09 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-05-25T22:59:09Z</dc:date>
    <item>
      <title>Application that cycles through variable values automatically</title>
      <link>https://community.qlik.com/t5/QlikView/Application-that-cycles-through-variable-values-automatically/m-p/846209#M297074</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey Folks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a dashboard application that is intended to go up on a screen as a status update, and I need it to cycle through a series of values.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The short explanation is that it's using set analysis with a variable that is cycling through a number of variables to modify the contents of the charts in the application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have it set up thusly: (actually, I've tried two ways)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1) an action that changes the variable value according to the method I want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2) a vb macro that does the same&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried converting the VB macro into something that runs in an infinite loop: apart from not quite working correctly in the desktop, the catch is that macros like this don't run on the server when viewing the document via AJAX.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've also tried setting the action on after open of the document, and causing my browser window to refresh, but the document doesn't seem to consider the refresh action (or even a full browser close and re-open) to be a document 'open' and so, the value doesn't cycle.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone have any solutions that I haven't thought of?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;UPDATE:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have now also tried an onAfterReload action that does the cycling, and setting the reload to happen very frequently. I also then set the automatic update on reload parameters in the management console... Still no love. &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 May 2015 22:59:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Application-that-cycles-through-variable-values-automatically/m-p/846209#M297074</guid>
      <dc:creator />
      <dc:date>2015-05-25T22:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Application that cycles through variable values automatically</title>
      <link>https://community.qlik.com/t5/QlikView/Application-that-cycles-through-variable-values-automatically/m-p/846210#M297075</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create a timer type variable out of the Now()-function. Now() updates every second and by picking out the second or the minute you can scale and offset this base tick into the range and count frequency that you need.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Furthermore you can use dollar-sign expansion to use that as an index and append that to a variable so effectively you could have one variable being cycled through a number of indexed variables like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CurrentValue = $(='A' &amp;amp; Mod(Round(Frac(Now()*24*60)*60),2)+3))&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Which will cycle through two variables A3 and A4 every second.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It is not theory - I just tested it in a sample application.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This could also be transferred into referencing field-values or used as a timer updated indexing mechanism.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have successfully used it to cycle through different Sheets and only have one sheet visible for a few seconds thus creating a slideshow.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 21:19:55 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Application-that-cycles-through-variable-values-automatically/m-p/846210#M297075</guid>
      <dc:creator>petter</dc:creator>
      <dc:date>2015-05-26T21:19:55Z</dc:date>
    </item>
    <item>
      <title>Re: Application that cycles through variable values automatically</title>
      <link>https://community.qlik.com/t5/QlikView/Application-that-cycles-through-variable-values-automatically/m-p/846211#M297076</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It doesn't refresh in AJAX, but I think there is an extension that I can use to get it to refresh.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 May 2015 22:42:11 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Application-that-cycles-through-variable-values-automatically/m-p/846211#M297076</guid>
      <dc:creator />
      <dc:date>2015-05-26T22:42:11Z</dc:date>
    </item>
  </channel>
</rss>

