<?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 choose a rendom rows but less then expected in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/choose-a-rendom-rows-but-less-then-expected/m-p/870004#M304209</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I attached the example I have , using with this calculation :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;='('&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Concat&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ceil&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RAND&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()*&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vRowNum)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;),'|', &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ValueLoop&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(1,&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(X)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&amp;amp;')' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;if X = 10 then it will show me on the table the random 10 rows.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;the problem is that there are collisions in value generation, sometimes it choose me only 9 rows.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;how do I make sure he will choose me exactly 10 random row not more or less, and on each choose the rows data will be different.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Moni&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Jul 2015 09:27:18 GMT</pubDate>
    <dc:creator />
    <dc:date>2015-07-02T09:27:18Z</dc:date>
    <item>
      <title>choose a rendom rows but less then expected</title>
      <link>https://community.qlik.com/t5/QlikView/choose-a-rendom-rows-but-less-then-expected/m-p/870004#M304209</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ,&lt;/P&gt;&lt;P&gt;I attached the example I have , using with this calculation :&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;='('&amp;amp;&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;Concat&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ceil&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(&lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;RAND&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;()*&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(vRowNum)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;),'|', &lt;/SPAN&gt;&lt;SPAN style="color: #0000ff; font-size: 8pt;"&gt;ValueLoop&lt;/SPAN&gt;&lt;SPAN style="font-size: 8pt;"&gt;(1,&lt;/SPAN&gt;&lt;STRONG&gt;&lt;EM style=": ; color: #808080; font-size: 8pt;"&gt;$(X)&lt;/EM&gt;&lt;/STRONG&gt;&lt;SPAN style="font-size: 8pt;"&gt;))&amp;amp;')' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;if X = 10 then it will show me on the table the random 10 rows.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;the problem is that there are collisions in value generation, sometimes it choose me only 9 rows.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;how do I make sure he will choose me exactly 10 random row not more or less, and on each choose the rows data will be different.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;thanks,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 8pt;"&gt;Moni&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 09:27:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/choose-a-rendom-rows-but-less-then-expected/m-p/870004#M304209</guid>
      <dc:creator />
      <dc:date>2015-07-02T09:27:18Z</dc:date>
    </item>
    <item>
      <title>Re: choose a rendom rows but less then expected</title>
      <link>https://community.qlik.com/t5/QlikView/choose-a-rendom-rows-but-less-then-expected/m-p/870005#M304210</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Qlikview doesn't have a function for that. Perhaps you can use a site like random.org. The url below will return a comma separated series of 10 random non-repeating numbers between 1 and 100&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.random.org/integer-sets/?sets=1&amp;amp;num=10&amp;amp;min=1&amp;amp;max=100&amp;amp;seqnos=on&amp;amp;commas=on&amp;amp;sort=on&amp;amp;order=index&amp;amp;format=plain&amp;amp;rnd=new" title="https://www.random.org/integer-sets/?sets=1&amp;amp;num=10&amp;amp;min=1&amp;amp;max=100&amp;amp;seqnos=on&amp;amp;commas=on&amp;amp;sort=on&amp;amp;order=index&amp;amp;format=plain&amp;amp;rnd=new"&gt;https://www.random.org/integer-sets/?sets=1&amp;amp;num=10&amp;amp;min=1&amp;amp;max=100&amp;amp;seqnos=on&amp;amp;commas=on&amp;amp;sort=on&amp;amp;order=index&amp;amp;format=plain&amp;amp;rn…&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Jul 2015 16:50:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/choose-a-rendom-rows-but-less-then-expected/m-p/870005#M304210</guid>
      <dc:creator>Gysbert_Wassenaar</dc:creator>
      <dc:date>2015-07-02T16:50:39Z</dc:date>
    </item>
  </channel>
</rss>

