<?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: Formula for creating random numbers in Alteryx Designer Desktop Discussions</title>
    <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-for-creating-random-numbers/m-p/17972#M8145</link>
    <description>&lt;P&gt;Hi Marquee,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes it works. thank you for helping me. but 0.9 value is not assigned while using htis formula. is there any specific reason for this ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;bharath&lt;/P&gt;</description>
    <pubDate>Fri, 01 Apr 2016 19:33:26 GMT</pubDate>
    <dc:creator>Bharath</dc:creator>
    <dc:date>2016-04-01T19:33:26Z</dc:date>
    <item>
      <title>Formula for creating random numbers</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-for-creating-random-numbers/m-p/17956#M8137</link>
      <description>&lt;P&gt;I have to assign random numbers between 0.6 - 1 for 500000 records in alteryx. I tried by using function called Randint() but its not working. can anyone please help me on this.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Bharath&lt;/P&gt;</description>
      <pubDate>Thu, 24 May 2018 01:39:12 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-for-creating-random-numbers/m-p/17956#M8137</guid>
      <dc:creator>Bharath</dc:creator>
      <dc:date>2018-05-24T01:39:12Z</dc:date>
    </item>
    <item>
      <title>Re: Formula for creating random numbers</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-for-creating-random-numbers/m-p/17958#M8138</link>
      <description>&lt;P&gt;Try Rand() instead of RandInt(); it will give you a real number between 0 and 1; then multiply (e.g. Rand() * 0.6 for your case should be very close to what you need)&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2016 18:35:56 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-for-creating-random-numbers/m-p/17958#M8138</guid>
      <dc:creator>JohnJPS</dc:creator>
      <dc:date>2016-04-01T18:35:56Z</dc:date>
    </item>
    <item>
      <title>Re: Formula for creating random numbers</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-for-creating-random-numbers/m-p/17961#M8139</link>
      <description>&lt;P&gt;(RANDINT(4000)/10000)+.6&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2016 18:34:35 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-for-creating-random-numbers/m-p/17961#M8139</guid>
      <dc:creator>MarqueeCrew</dc:creator>
      <dc:date>2016-04-01T18:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: Formula for creating random numbers</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-for-creating-random-numbers/m-p/17965#M8140</link>
      <description>&lt;P&gt;Hi Marquee,&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thank you for your reply. actually among the 500000 records some need to have 0.6, some should have 0.7, 0.8, 0.9 and 1 all these values should be randomly assigned for all the 50000 records.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2016 18:49:21 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-for-creating-random-numbers/m-p/17965#M8140</guid>
      <dc:creator>Bharath</dc:creator>
      <dc:date>2016-04-01T18:49:21Z</dc:date>
    </item>
    <item>
      <title>Re: Formula for creating random numbers</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-for-creating-random-numbers/m-p/17966#M8141</link>
      <description>&lt;P&gt;Acutally I am trying to crate a variable column with random values from 0.6 - 1.0. so some values should have 0.6 , some should have 0.7 and some should have 0.8,0.9 but i dont know how specify the interval from and to&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2016 18:51:56 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-for-creating-random-numbers/m-p/17966#M8141</guid>
      <dc:creator>Bharath</dc:creator>
      <dc:date>2016-04-01T18:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Formula for creating random numbers</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-for-creating-random-numbers/m-p/17967#M8142</link>
      <description>&lt;P&gt;they should. &amp;nbsp;I'm assigning values between 0 and 4,000 and then will be adding .6 to the product of the random number * .0001&lt;/P&gt;&lt;P&gt;this gets you random numbers between .6 and 1.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you test this you should get min of .6 and max of 1 with avg of .8&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please do try it. &amp;nbsp;I've got a sample module included with 500,000 records (generated).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2016 18:54:10 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-for-creating-random-numbers/m-p/17967#M8142</guid>
      <dc:creator>MarqueeCrew</dc:creator>
      <dc:date>2016-04-01T18:54:10Z</dc:date>
    </item>
    <item>
      <title>Re: Formula for creating random numbers</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-for-creating-random-numbers/m-p/17969#M8143</link>
      <description>&lt;P&gt;I think I understand; could you try&lt;/P&gt;&lt;PRE&gt;SWITCH(RandInt(4),1,
0,0.6,
1,0.7,
2,0.8,
3,0.9)&lt;/PRE&gt;&lt;P&gt;This will give only the distinct values 0.6, 0.7, 0.8, 0.9, and 1. ...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(edit: But&amp;nbsp;&lt;a href="https://community.alteryx.com/t5/user/viewprofilepage/user-id/3557"&gt;@MarqueeCrew﻿&lt;/a&gt;&amp;nbsp;answer that follows is better.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2016 18:58:03 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-for-creating-random-numbers/m-p/17969#M8143</guid>
      <dc:creator>JohnJPS</dc:creator>
      <dc:date>2016-04-01T18:58:03Z</dc:date>
    </item>
    <item>
      <title>Re: Formula for creating random numbers</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-for-creating-random-numbers/m-p/17970#M8144</link>
      <description>&lt;P&gt;if you only want {.6,.7,.8,.9,1} you can modify expression:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;(RANDINT(4)/10)+.6&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2016 18:55:54 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-for-creating-random-numbers/m-p/17970#M8144</guid>
      <dc:creator>MarqueeCrew</dc:creator>
      <dc:date>2016-04-01T18:55:54Z</dc:date>
    </item>
    <item>
      <title>Re: Formula for creating random numbers</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-for-creating-random-numbers/m-p/17972#M8145</link>
      <description>&lt;P&gt;Hi Marquee,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;yes it works. thank you for helping me. but 0.9 value is not assigned while using htis formula. is there any specific reason for this ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;bharath&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2016 19:33:26 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-for-creating-random-numbers/m-p/17972#M8145</guid>
      <dc:creator>Bharath</dc:creator>
      <dc:date>2016-04-01T19:33:26Z</dc:date>
    </item>
    <item>
      <title>Re: Formula for creating random numbers</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-for-creating-random-numbers/m-p/17973#M8146</link>
      <description>&lt;P&gt;I can only say RANDOM things happen. &amp;nbsp;Here is a count from my test of 500,000 values.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;TABLE&gt;&lt;TBODY&gt;&lt;TR&gt;&lt;TD&gt;rand&lt;/TD&gt;&lt;TD&gt;Count&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;.6&lt;/TD&gt;&lt;TD&gt;99,714&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;.7&lt;/TD&gt;&lt;TD&gt;100,117&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;.8&lt;/TD&gt;&lt;TD&gt;100,058&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;.9&lt;/TD&gt;&lt;TD&gt;99,881&lt;/TD&gt;&lt;/TR&gt;&lt;TR&gt;&lt;TD&gt;1&lt;/TD&gt;&lt;TD&gt;100,230&lt;/TD&gt;&lt;/TR&gt;&lt;/TBODY&gt;&lt;/TABLE&gt;</description>
      <pubDate>Fri, 01 Apr 2016 19:38:21 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-for-creating-random-numbers/m-p/17973#M8146</guid>
      <dc:creator>MarqueeCrew</dc:creator>
      <dc:date>2016-04-01T19:38:21Z</dc:date>
    </item>
    <item>
      <title>Re: Formula for creating random numbers</title>
      <link>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-for-creating-random-numbers/m-p/17974#M8147</link>
      <description>&lt;P&gt;Hi Marquee,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for helping me.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Bharath&lt;/P&gt;</description>
      <pubDate>Fri, 01 Apr 2016 19:50:49 GMT</pubDate>
      <guid>https://community.alteryx.com/t5/Alteryx-Designer-Desktop-Discussions/Formula-for-creating-random-numbers/m-p/17974#M8147</guid>
      <dc:creator>Bharath</dc:creator>
      <dc:date>2016-04-01T19:50:49Z</dc:date>
    </item>
  </channel>
</rss>

