Weekly Challenge

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

We're actively looking for ideas on how to improve Weekly Challenges and would love to hear what you think!

Submit Feedback
We've recently made an accessibility improvement to the community and therefore posts without any content are no longer allowed. Please use the spoiler feature or add a short message in the message body in order to submit your weekly challenge.

Challenge #55: 2013 Alteryx Grand Prix (L1)

Highlighted
Alteryx Alumni (Retired)

The link to last week’s challenge (exercise #54) is HERE.

 

2013 Alteryx Grand Prix Lap 1 of 3:

 

As the Alteryx User groups start the process of selecting their competitors for the 2017 Alteryx Grand Prix I thought it would be fun to bring back an old Grand Prix as the weekly challenge.  Note the workflow is in a vertical orientation.  Vertical was the only orientation Alteryx had in 2013.  Now, we can toggle between vertical and horizontal configurations by clicking on the white space of the canvas, going to the configuration window, and choosing a layout direction.

 

Want to have even more fun, go to the about box under the help menu and double click the little Colorado flag for an Easter egg that will render the tools the way they looked in 2013.

 

Have fun solving and remember the competitors were racing each other and the clock!  See how fast you can solve this.  OH, and there was NO Imputation tool in 2013...

Highlighted
Alteryx Certified Partner

Okay, I don't think I would win any prizes for speed here, but I think I got there:

 

Spoiler
I started by determining the year with the most daily sales records. This was achieved by simply creating a date field, grouping by year and counting the individual date rows. I then sorted by the highest and took the first row, then linked this back to the main data stream:

Task 1 - Determine Year.PNG

From here, I then carried out task two by transposing the data to include the values for each department in one column. I then determined the average without zeros by using the appropriate function in the "Summarize" tool and used a formula to replace zero values with this value. I then cross-tabbed the data back to the original format:

Task 2 - Determine Averages without Zeros.PNG

Tasks 3 and 4 were then simple matters of grouping and applying the appropriate sums coupled with a formula to determine the 364 calculation and daily sales % by department. Simple:

Task 3 - Determine Average values and totals.PNG

Task 4 - Determine Percentages.PNG



Highlighted
Alteryx Community Team
Alteryx Community Team

The original post has been updated with the solution!

Highlighted
16 - Nebula
16 - Nebula

🙂 it really baked my pumpkin trying to think in a downwards flow, instead of a left-to-right.   What creatures of habit we are...

 

Highlighted
14 - Magnetar
14 - Magnetar

Solution. I do not like you, up and down. I do not like you, Sam I am.

Spoiler
WeeklyChallenge55.JPG
Highlighted
14 - Magnetar
14 - Magnetar

Nothing earth shattering here, and I did change it to horizontal 🙂

Highlighted
Alteryx Certified Partner

I successfully completed Pit Stop 1, though it took me ages to do this in a vertical workflow, and OMG that funky icons!! And of course, the suggested solution is much more simpler than mine.

 

Spoiler
Screen Shot 2017-06-01 at 11.12.29.png

 

 

Highlighted
Alteryx Certified Partner

I have tried and failed several times to get this solution to work, although confident that my calculations were correct it would not validate in the macro.

 

Spoiler

 

So I bit the bullet and checked against the solution and found the solution had excluded General Merchandise (not in the instructions) and the format required was short and wide (i was using tall and thin)...so I made all the changes but still no luck. So i resorted to checking the values against the solution and they are all correct....I have no idea why it wont run but hey.....I'm happy with the solution I have provided

@SeanAdams - that's 74! I'm ready for Monday 🙂

Highlighted
16 - Nebula
16 - Nebula

@LordNeilLord - you gotta be proud of yourself - you've torn through these with such passion and speed!    

Highlighted
16 - Nebula
16 - Nebula
Spoiler
Perhaps it's just me, but i found that to be confusing!
Capture.PNG