cancel
Showing results for
Did you mean:

# Weekly Challenge

Solve the challenge, share your solution and summit the ranks of our Community!
New content is available in Academy! You may need to clear your browser cache for an optimal viewing experience

## Challenge #171: 2019 Grand Prix US - Heat 2

Asteroid

My solution.  just over 10 min..  so fun!

Spoiler
Bolide

I got interrupted while working on this and forgot to pause the timer, so I'm not sure how I did on time...

Spoiler
I think we're double-counting some households in the Grades 1-12 calculation...  For example, if a household has a child in first grade and a child in the fifth grade, wouldn't they be included in both counts?)

Since there wasn't an obvious way to separate them, I made the assumption that we were supposed to add them all together (and I filtered out any blocks where % Grades 1-12 was > 100%).
Spoiler
I thought that I zipped through this pretty easily, until I ended up with a few additional blocks that were not in the solution!

Noticing that my "extras" were significantly higher-ranked than those in the solution, I realized that the intent was to cut off as soon as we hit 10,000 (I had been trying to fully utilize the 10,000 capacity by including some lower-ranked blocks that were small enough to fit within the cap). Had I realized that earlier, I would have just used Running Total; instead, I re-purposed my Multi-Row Formula instead, since it was already in the workflow.

This untidy workflow makes me cringe, but in the interest of keeping it real...

Bolide

Definitely easier the second time through!

Spoiler
Asteroid

They threw in the spacial data in there as a stumbling block.

The hardest part for me was choosing the right sorting method ascending or descending.

Awesome practice using the Running Total tool, which makes life easy!

Meteor

It's simple to brute force this one, I wonder what the more elegant solutions are?

Spoiler
Spoiler
I basically just sorted the data on the criteria I wanted to rank and then used a record ID tool to apply a rank to the rows.

Asteroid

I wonder if there's any way to use the optimization tool to get this answer

Spoiler
Meteoroid
Spoiler

Here is my solution!

Quasar
Spoiler
Alteryx Certified Partner

My solution:

Spoiler
Alteryx Certified Partner

A significant chunk of time was spent deciding column names - but otherwise was good fun sorting out the ranking

Spoiler

And a time of 10.13

Spoiler