We are celebrating the 10-year anniversary of the Alteryx Community! Learn more and join in on the fun 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 #307: Round-robin

lwolfie
11 - Bolide

phew.....that was a challenging one.

Carolyn
12 - Quasar
12 - Quasar

Solved!

 

Spoiler
2025-03-13 11_14_52-App Results.png


App: 

2025-03-13 11_15_13-Alteryx Designer x64 - Challenge 307 Round Robin App.yxwz.png


Iterative Macro:

2025-03-13 11_15_34-Alteryx Designer x64 - RR Macro.yxmc.png
sammyb84
5 - Atom

I'm confused with the data set.  The output sample says Team A and Team B but should this be 2 leagues?  

 

The way i'm reading this is that app says 5 teams in 5 weeks, each team gets to play once a week.  But there is only Team A and Team B?  I'm confused where there are 5 teams and what do the numbers represent under each Team?

Kenda
16 - Nebula
16 - Nebula

Hi @sammyb84 

 

Great questions!

 

Team A and Team B are just generic headers for the columns to show which teams are playing each other each week. The actual team names are 1, 2, 3, 4, 5. So in the sample output, team 1 plays team 5 and team 2 plays team 4.

 

Hopefully that helps clear it up!

sammyb84
5 - Atom

I think I figured it out.  Looking at other people's solutions and validating against the Output set, The number of games played by each team is equal to # of teams - 1.  So in yours, in 5 weeks each team will have been able to play each other 4 times. Also if there is only one week then they play 4 times back to back which in tennis would probably mean death.

Erin
11 - Bolide

Thought I posted this earlier but it wasn't marked as solved on my list, so try try again...

JBevan89
8 - Asteroid

Great Challenge

shrestha_nitesh
8 - Asteroid

Workflow

Spoiler
shrestha_nitesh_0-1754684291216.png


Macro 1

Spoiler
shrestha_nitesh_1-1754684324880.png

 



Macro 2

Spoiler
shrestha_nitesh_2-1754684342352.png