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

Weekly Challenges

Solve the challenge, share your solution and summit the ranks of our Community!

Also available in | Français | Português | Español | 日本語
IDEAS WANTED

Want to get involved? We're always looking for ideas and content for Weekly Challenges.

SUBMIT YOUR IDEA

Challenge #270: Pony Permutations

mike_w
8 - Asteroid

Is it fair to use the python module for this? I will say YES, because 1. why not use those (limited!) python skills where you can and 2. I already had a template for permutations and combinations in Alteryx, so this only needed minimal adjustments.. 

Spoiler
mike_w_0-1622594906872.png

 

mst3k
11 - Bolide

not being a python user myself (yet!), this is very helpful to see in action!

OllieClarke
16 - Nebula
16 - Nebula

Here's my solution:

Spoiler
If there were 5 horses, then there'd be 120 possible outcomes (n!)
OllieClarke_0-1622630944120.png

 

alexnajm
19 - Altair
19 - Altair

Solution attached. It is just a factorial for n number of horses, so 5 horses means 120 combinations (5 x 4 x 3 x 2 x 1) 😊

balajilolla
8 - Asteroid
Spoiler
Solution Attached

balajilolla_0-1622640231160.png

 

binu_acs
21 - Polaris
Spoiler
binuacs_0-1622642042372.png

 

j_christian
7 - Meteor

Here's my solution and extra-credit solution.

 

Spoiler
Extra credit: The number of horse races is the factorial of the number of horses involved.
Jonny
11 - Bolide

Not very pretty but solved nevertheless 🙂 

TonyA
Alteryx Alumni (Retired)

Brings back memories. Only went to three Belmont Stakes races when I lived in New York, but did see one Triple Crown win.

Spoiler
TonyA_0-1622663398590.png

 

Qiu
21 - Polaris
21 - Polaris

Tried with an iterative macro.

Spoiler
challenge_270.PNG