<?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: Creating random numbers on button click in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Creating-random-numbers-on-button-click/m-p/1217361#M853134</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe create an External - Set Variable action in the button properties and set a variable value to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Ceil(RAND()*20)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Mar 2017 14:04:19 GMT</pubDate>
    <dc:creator>swuehl</dc:creator>
    <dc:date>2017-03-02T14:04:19Z</dc:date>
    <item>
      <title>Creating random numbers on button click</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-random-numbers-on-button-click/m-p/1217360#M853133</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;Want to create random numbers on clicking a button.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example :&lt;/P&gt;&lt;P&gt;clicking a button produce a number '3' and clicking the same button &lt;SPAN style="font-size: 13.3333px;"&gt;again&lt;/SPAN&gt; produce another number '7' and so on.within the limit of 20.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kindly awaiting for your response&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dinesh M&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/Creating-random-numbers-on-button-click/m-p/1217360#M853133</guid>
      <dc:creator>dineshmdane</dc:creator>
      <dc:date>2020-11-25T16:16:04Z</dc:date>
    </item>
    <item>
      <title>Re: Creating random numbers on button click</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-random-numbers-on-button-click/m-p/1217361#M853134</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe create an External - Set Variable action in the button properties and set a variable value to&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Ceil(RAND()*20)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2017 14:04:19 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-random-numbers-on-button-click/m-p/1217361#M853134</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-03-02T14:04:19Z</dc:date>
    </item>
    <item>
      <title>Re: Creating random numbers on button click</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-random-numbers-on-button-click/m-p/1217362#M853135</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Maybe this is helpful: &lt;A href="https://community.qlik.com/message/1159394"&gt;Re: Generate 6 different random numbers&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- Marcus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2017 14:05:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-random-numbers-on-button-click/m-p/1217362#M853135</guid>
      <dc:creator>marcus_sommer</dc:creator>
      <dc:date>2017-03-02T14:05:09Z</dc:date>
    </item>
    <item>
      <title>Re: Creating random numbers on button click</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-random-numbers-on-button-click/m-p/1217363#M853136</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Do you know why it wouldn't work for me in the attached file. Seems like the value for Rand() just doesn't want to change&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2017 14:05:51 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-random-numbers-on-button-click/m-p/1217363#M853136</guid>
      <dc:creator>sunny_talwar</dc:creator>
      <dc:date>2017-03-02T14:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: Creating random numbers on button click</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-random-numbers-on-button-click/m-p/1217364#M853137</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It's weird but maybe it only recalculates when something changes? &lt;/P&gt;&lt;P&gt;I changed it to rand*now() and clicking the button does then work&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2017 14:40:54 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-random-numbers-on-button-click/m-p/1217364#M853137</guid>
      <dc:creator>adamdavi3s</dc:creator>
      <dc:date>2017-03-02T14:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: Creating random numbers on button click</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-random-numbers-on-button-click/m-p/1217365#M853138</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seems like some kind of caching is kicking in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We may need to force Qlik to reevaluate the expression:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;=Ceil(RAND()*100) +0*Now(1)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(Sometimes it takes more than 1 click to change)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2017 14:41:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-random-numbers-on-button-click/m-p/1217365#M853138</guid>
      <dc:creator>swuehl</dc:creator>
      <dc:date>2017-03-02T14:41:24Z</dc:date>
    </item>
    <item>
      <title>Re: Creating random numbers on button click</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-random-numbers-on-button-click/m-p/1217366#M853139</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;May be use a piece of macro &lt;/P&gt;&lt;P&gt;sub Random&lt;/P&gt;&lt;P&gt;set vRand = ActiveDocument.GetVariable("vRand")&lt;/P&gt;&lt;P&gt;x= rnd*20&lt;/P&gt;&lt;P&gt;vRand.setContent x,True&lt;/P&gt;&lt;P&gt;End sub&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Mar 2017 14:51:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-random-numbers-on-button-click/m-p/1217366#M853139</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2017-03-02T14:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Creating random numbers on button click</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-random-numbers-on-button-click/m-p/1217367#M853140</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Ya Sunny on button click it will not change.It will change only on reload.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 05:27:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-random-numbers-on-button-click/m-p/1217367#M853140</guid>
      <dc:creator>dineshmdane</dc:creator>
      <dc:date>2017-03-03T05:27:35Z</dc:date>
    </item>
    <item>
      <title>Re: Creating random numbers on button click</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-random-numbers-on-button-click/m-p/1217368#M853141</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks you Stefan it is working as you said it takes more that one click sometimes &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/laugh.png" /&gt;.&lt;/P&gt;&lt;P&gt;Any other method to change the value on one click.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 05:32:15 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-random-numbers-on-button-click/m-p/1217368#M853141</guid>
      <dc:creator>dineshmdane</dc:creator>
      <dc:date>2017-03-03T05:32:15Z</dc:date>
    </item>
    <item>
      <title>Re: Creating random numbers on button click</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-random-numbers-on-button-click/m-p/1217369#M853142</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank&amp;nbsp; you Sasidhar. It is working. &lt;IMG src="https://community.qlik.com/legacyfs/online/emoticons/happy.png" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 05:46:27 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-random-numbers-on-button-click/m-p/1217369#M853142</guid>
      <dc:creator>dineshmdane</dc:creator>
      <dc:date>2017-03-03T05:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Creating random numbers on button click</title>
      <link>https://community.qlik.com/t5/QlikView/Creating-random-numbers-on-button-click/m-p/1217370#M853143</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Great, if you are happy with the solutions give by us, please do not forget to close the thread by marking a correct and any helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 03 Mar 2017 07:59:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Creating-random-numbers-on-button-click/m-p/1217370#M853143</guid>
      <dc:creator>sasiparupudi1</dc:creator>
      <dc:date>2017-03-03T07:59:25Z</dc:date>
    </item>
  </channel>
</rss>

