<?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: Random Winner Script in App Development</title>
    <link>https://community.qlik.com/t5/App-Development/Random-Winner-Script/m-p/1682778#M51978</link>
    <description>&lt;P&gt;That worked fine - thanks very much&lt;/P&gt;</description>
    <pubDate>Mon, 09 Mar 2020 07:53:25 GMT</pubDate>
    <dc:creator>LordGrim</dc:creator>
    <dc:date>2020-03-09T07:53:25Z</dc:date>
    <item>
      <title>Random Winner Script</title>
      <link>https://community.qlik.com/t5/App-Development/Random-Winner-Script/m-p/1679460#M51682</link>
      <description>&lt;P&gt;Hi, I think this will be really simple for those in the know but the easy way eludes me.&lt;BR /&gt;&lt;BR /&gt;Just for fun looking to use a list of ten names (in excel list or inline) and I want too, on a refresh, get a name selected on that list as a random&amp;nbsp; 'Winner'? Only going to schedule for once per month and only for fun.&lt;BR /&gt;&lt;BR /&gt;Any simple load script ideas?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Mon, 20 Dec 2021 21:32:42 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Random-Winner-Script/m-p/1679460#M51682</guid>
      <dc:creator>LordGrim</dc:creator>
      <dc:date>2021-12-20T21:32:42Z</dc:date>
    </item>
    <item>
      <title>Re: Random Winner Script</title>
      <link>https://community.qlik.com/t5/App-Development/Random-Winner-Script/m-p/1679473#M51683</link>
      <description>&lt;P&gt;give each name ID from 1 to 10. In script, create a random number, assign it to variable and pick a winner like that:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Let vWinner = Ceil(Rand()*10) //this will create a value from 1-10&lt;/P&gt;&lt;P&gt;Then in frontend show Name where it's ID equals the variable vWinner - Only({&amp;lt;ID={$(vWinner)}&amp;gt;}Name)&lt;/P&gt;&lt;P&gt;Winner changes with each reload unless you specify condition&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2020 13:50:32 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Random-Winner-Script/m-p/1679473#M51683</guid>
      <dc:creator>DavidM</dc:creator>
      <dc:date>2020-02-26T13:50:32Z</dc:date>
    </item>
    <item>
      <title>Re: Random Winner Script</title>
      <link>https://community.qlik.com/t5/App-Development/Random-Winner-Script/m-p/1682778#M51978</link>
      <description>&lt;P&gt;That worked fine - thanks very much&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2020 07:53:25 GMT</pubDate>
      <guid>https://community.qlik.com/t5/App-Development/Random-Winner-Script/m-p/1682778#M51978</guid>
      <dc:creator>LordGrim</dc:creator>
      <dc:date>2020-03-09T07:53:25Z</dc:date>
    </item>
  </channel>
</rss>

