<?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: Reproducible Random number using Rand() in QlikView</title>
    <link>https://community.qlik.com/t5/QlikView/Reproducible-Random-number-using-Rand/m-p/1765882#M717824</link>
    <description>&lt;P&gt;everytime you reload your script, you will get a different random number (hence the name).&amp;nbsp; i use rand all the time and its hard to test esp if you need to reload multiple times.&amp;nbsp; what i do is rt after the table with the rand() number fields, i save it to a QVD and next time just load the QVD and comment out the table itself.&lt;/P&gt;&lt;P&gt;obviously, you need to change your script after the first run.&amp;nbsp; if manually changing the script is not acceptable, then you can automate it by first checking if the QVD exists, if so, load it else run the code that has the rand() and then save to QVD.&lt;/P&gt;</description>
    <pubDate>Thu, 03 Dec 2020 00:32:56 GMT</pubDate>
    <dc:creator>edwin</dc:creator>
    <dc:date>2020-12-03T00:32:56Z</dc:date>
    <item>
      <title>Reproducible Random number using Rand()</title>
      <link>https://community.qlik.com/t5/QlikView/Reproducible-Random-number-using-Rand/m-p/1765591#M717823</link>
      <description>&lt;P&gt;Hi Everyone,&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I generate a reproducible set of Random Numbers for rgb color code I am using&amp;nbsp;&lt;/P&gt;&lt;P&gt;argb(200,rand()*225,rand()*225,rand()*225)&lt;/P&gt;&lt;P&gt;but it gives me every time different set of colors, is there another function ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 02 Dec 2020 07:31:16 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reproducible-Random-number-using-Rand/m-p/1765591#M717823</guid>
      <dc:creator>Chahine</dc:creator>
      <dc:date>2020-12-02T07:31:16Z</dc:date>
    </item>
    <item>
      <title>Re: Reproducible Random number using Rand()</title>
      <link>https://community.qlik.com/t5/QlikView/Reproducible-Random-number-using-Rand/m-p/1765882#M717824</link>
      <description>&lt;P&gt;everytime you reload your script, you will get a different random number (hence the name).&amp;nbsp; i use rand all the time and its hard to test esp if you need to reload multiple times.&amp;nbsp; what i do is rt after the table with the rand() number fields, i save it to a QVD and next time just load the QVD and comment out the table itself.&lt;/P&gt;&lt;P&gt;obviously, you need to change your script after the first run.&amp;nbsp; if manually changing the script is not acceptable, then you can automate it by first checking if the QVD exists, if so, load it else run the code that has the rand() and then save to QVD.&lt;/P&gt;</description>
      <pubDate>Thu, 03 Dec 2020 00:32:56 GMT</pubDate>
      <guid>https://community.qlik.com/t5/QlikView/Reproducible-Random-number-using-Rand/m-p/1765882#M717824</guid>
      <dc:creator>edwin</dc:creator>
      <dc:date>2020-12-03T00:32:56Z</dc:date>
    </item>
  </channel>
</rss>

