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

Highlighted
5 - Atom

Nice job! jeje

Highlighted
Alteryx Certified Partner

Solution attached.

One of many..

Highlighted
6 - Meteoroid

Solution Attached

Highlighted
6 - Meteoroid

Used cross tab to get to the solution.

Highlighted
5 - Atom

Here is my solution to Challenge #8.

Highlighted
6 - Meteoroid

Check out my Solution to Challenge 8!

Highlighted
Alteryx Certified Partner

This was a tasty challenge! Here's how I polished it off:

Spoiler
1) I started by joining the two input tables and converting the date format.

2) Then I filtered the date range to 1 July 2013 onwards and split the output into two streams. The first (top) stream counts the total number of tickets, and the second (bottom) stream cross tabulates the orders to one ticket per row with columns for items, filters using the custom formula (Burger OR Pizza) AND Drink AND Side, and then counts the number of potential meal deal tickets.

3) Finally I appended the two counts into a single record, calculated the percentage, and tidied the field orders to match the output requirements.

Highlighted
Alteryx Certified Partner

Hello,

This is my attempt; I seem to have used fewer tools than the solution (only one join and no secondary lookup table - even though good idea for flags), so hope that I didn't lose anything in my shorter workflow!

Highlighted
7 - Meteor

Attaching my solution.

Highlighted
8 - Asteroid

Hello all,

My approach to this challenge was to try to analyze if any of the ticket purchases could be treated as a "deal already", if they included the purchase of a burger or pizza and a side and drink on the transactions after July 1 2013. This left many transactions that could potentially have been a deal, where the customer bought a pizza or burger but did not buy a drink or side. There were 2,810 potential deal transactions where the customer bought pizza or burgers but did not buy drink and side; thus, this number needs to be subtracted from the total potential deals because they could be a potential pizza or burger deals.

In summary, the number of transactions where customers bought pizza or burgers but could have bought drinks and sides is 30,368; that opportunity represents a 57% of the deals or combos already sold.