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 #8: Aggregate Consumer Purchases

LailaBene
5 - Atom

Great challenge!

phottovy
13 - Pulsar
13 - Pulsar

There is probably a way to do this in fewer steps but here is my solution.

Hannah_Lissaman
11 - Bolide

My solution :)

Reesetrain2
9 - Comet

Hello,

 

I have attached my solution.

-The first one is not that clean, as I was trying for a long time to figure out why I could not get the correct total.

-I discovered that it was due to two items: the join and the sort date.

-The sort date was off, as you have to use July 1st to get the correct amount of transactions.

-The join does kick out some records due to duplicates due to their being three yes of sides (Soup, Salad or just side)

-The second method uses the Cross Tab method as it gets the correct amount.

-Please let me know what you all think.

-Cheers!

Matt

Spoiler
Capture.PNG
Greg_Murray
12 - Quasar
Spoiler
Capture.PNG

Solution attached

cbraaten
6 - Meteoroid

Not sure I have the most efficient workflow, but I got the desired results. Excited to look at how other's solved this challenge.

piotrzawistowski
8 - Asteroid
 
Shaun_Rheeder
8 - Asteroid

My solution. Get's the job done and doesn't seem too inelegant/

karenschuele
6 - Meteoroid

My solution for challenge 8

Etienne
8 - Asteroid

My solution for this challenge #8