Hello - I have a randomization/lottery problem that I need some help with. I have 2 datasets (sample data attached):
My desired output is the same list of customers with an additional column that notes which product they won (if any). A few constraints / notes:
I've been trying to figure out the right way to run this in Alteryx but not sure on what the right way to approach/start is. Would appreciate any help here. Thank you!
Interesting challenge! You might try a weighted random selection process where each product's odds are used to calculate a win chance per customer, and then iterate through the list while tracking inventory limits. It’s kind of like asking When Is The Next Powerball Drawing? you need controlled randomness with fixed constraints. Alteryx can handle this, but you'll likely need some combination of batch macros and multi-row formulas to manage inventory depletion.