The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

Alteryx Designer Desktop Ideas

Share your Designer Desktop product ideas - we're listening!
Submitting an Idea?

Be sure to review our Idea Submission Guidelines for more information!

Submission Guidelines

Formula for random normal values with RANDN()

In the formula tool, you can generate uniform random values using the RAND() function.

I would like to have similar functionality to get normal random values by calling RANDN().

Randn_formula.PNG

 

As a workaround, the values can be produced from a Python tool using 

numpy.random.randn()

 

Python documentation on numpy.random.randn.

 

The full script below produces 100 random normal values in a column called 'Normal_Rand'.

Python_config.PNG 

 

The zip file has both a direct workflow and macro solution to produce the random normal values.