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 #373: Fish and Chips, Anyone?

Luke_C
17 - Castor
Spoiler
Luke_C_1-1685382506344.png

 

jpowellsd
Alteryx
Alteryx

I feel like I used way more tools than needed, but it got the job done.   Then again most of the tools were to get it to match the answer :)

Spoiler
jpowellsd_0-1685403964636.png

 

Yoshiro_Fujimori
15 - Aurora

My solution.

Spoiler
Yoshiro_Fujimori_0-1685432919545.png

 

Flo_P
8 - Asteroid
Spoiler
Solved as requested but don't really agree with the approach, there are bound to be a bunch of double counted entries e.g. for 2015 which is now falsely marked as top consumption rate year.
Flo_P_0-1685439992611.png

 

ggruccio
ACE Emeritus
ACE Emeritus

Got to the answer, but a bit confused by the dividing by 2.  Copied the same logic for fish to potatoes.

 

Spoiler
ggruccio_0-1685455211250.png

 

logdog0411
8 - Asteroid

I have an analytical issue with how we're told to divvy up the "school years" - looking at the years listed for both fish and potatoes, this is clearly just an accounting or data labeling change. The amount listed for "2015" and all the single listed years prior is consistent with the amounts listed for "201516" and all doubly listed years afterwards. 

logdog0411_0-1685455322696.png

So the direction to divide "201516" in half and add half of it to the "2015" listing will (erroneously) drive 2015 to be the default winner for both the fish and potato categories, and leave 2016 artificially low. 

 

This seems to be a mistake, so I left the years grouped as they are listed in the dataset. 

ejhaley
8 - Asteroid
8 - Asteroid

My Solution :)

 

Spoiler
ejhaley_0-1685456253473.png

 

logdog0411
8 - Asteroid
Spoiler
logdog0411_0-1685456604222.png

 

Love it! I worked in a dynamic select just for funsies. 

 

I didn't split the "multi-year" listings because the numbers didn't make sense, so my year for fish was 202021, spuds was still 2015. 

 

And any chance for me to work in a Samwise Gamgee meme is a good day!

logdog0411
8 - Asteroid

I get that feeling every time i do a weekly challenge @jpowellsd !

FrederikE
13 - Pulsar
Spoiler
FrederikE_0-1685457343852.png