Join the Alteryx Community’s Maveryx Summer Cup event! Compete, network with others, and earn your gold through a series of challenges from July 24th to August 11th. Learn more about the event here.
alteryx Community

# 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.

13 - Pulsar

Whew, I've been sitting on this one for a while, as I struggled to figure out how to handle the edges of the board. In the end, my workflow isn't generalizable beyond a 5-slot x 9-level board, but I spent way too much time on it and had to reach a reasonable stopping point!

Spoiler
I calculated the probabilities for each position using the "bottom" row of Paschal's triangle, based on the number of board levels entered by the user. I then attempted to reassign the probabilities for columns that were off of the board.

Example for slot #2, unadjusted triangle:

Example for slot #2, adjusted for edges:

Spoiler
My workflow:

Output report:

8 - Asteroid
Spoiler
Outside the macro:

Inside the macro:

I couldn't figure out where to start, so I ended up using @SeanAdams' and @Natasha's solutions as a starting point. I then made it my own, using three generate rows tools to find all possible combinations. I used the Rand() function to decide whether the ball went left or right, excluded any positions that were impossible (such as left of position 1), then ran it through an iterative macro 25000 times to get the following output!

11 - Bolide

I really enjoyed this one! Nice to have Pascal's triangle refresher 😄

Spoiler

For some reason, I can't upload the file with my solution...

16 - Nebula

Decided to use a very simple approach.

Spoiler
Generate Rows tool to create possible combinations for row/col, each second row needs
correction for first and last col
Probabilities calculated based on final counts

Spoiler
8 - Asteroid
Spoiler
My first iterative macro in a while. A good fun problem to solve!
Alteryx Alumni (Retired)

I didn't read any of the spoilers and went for a pretty brute force approach. Looking at what other people have done I think my solution was similar to Patrick Digan but my results line up with many of the others.

11 - Bolide

I have one slight glitch in one of my workflows

Spoiler
(breaking out of the loop didn't work somehow)

Anyways, I

Spoiler
rebuild the board and run an iterative macro.

And overall it looks like

Spoiler
any feedback on this error would be greatly appreciated

So in detail I built this

overall boardbeginning of the boardend of the board (where I get an error somehow, but this only results in running the maximum amount of iterations)

11 - Bolide

Just reattaching my workflow

14 - Magnetar

My solution.  Would convert multi-row formula tools to a macro to make this more dynamic (such as user can choose number of peg rows, slots, etc).

Spoiler

Alteryx