Get Inspire insights from former attendees in our AMA discussion thread on Inspire Buzz. ACEs and other community members are on call all week to answer!

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

Unique Random number generation

razzy
8 - Asteroid

Hi All,

Any thought on this please?

I am using this formula to generate random number using two fields that were identifiers the formula works but i am having duplicates i however want a unique value of the numbers of any unique records any thought will be appreciated;

Formula Used:  

HexToNumber(Left(MD5_UNICODE([Field1]+[Field2]),7))*1000/268435455

 

3 REPLIES 3
Qiu
20 - Arcturus
20 - Arcturus

@razzy 
I dont see any random function in your formula, we can add one RanIt function.
But still, there is still a chance of getting duplicated, which can be reduced by increase the Range of RanInt.

0312-razzy.PNG

razzy
8 - Asteroid

Thank you i was able also to solve it with another approach

Qiu
20 - Arcturus
20 - Arcturus

@razzy 
Thank you for the information .
Would it be possible to share yoru approach? 😁

Labels