Advent of Code is back! Unwrap daily challenges to sharpen your Alteryx skills and earn badges along the way! Learn more now.
Free Trial

Cloud Quests

Elevate your workflow skills by solving real-world challenges using the Alteryx Analytics Cloud Platform.

Cloud Quest #2: Consumer Purchase Aggregation

AYXAcademy
Alteryx
Alteryx

Academy_Quests_Banner.png

Hi Maveryx,

 

Thanks for submitting your solutions for our first official Cloud Quest! In the video solution we posted, Alteryx Chief Evangelist, Joshua Burkhow (@joshuaburkhow) will guide you through the workflow (scroll down the page to locate the video).

Thank you, Josh, for the exceptional guidance!

 

For this week’s quest, you are taking on the role of a restaurant manager. You want to review customer purchase behavior to decide whether your restaurant should offer a meal deal that would add a side and drink to a pizza or burger purchase. To make this decision, you need to study recent transactions to determine the potential impact it could have.

 

The Point of Sale dataset includes the ticket-level information, and the two lookup tables categorize items into higher-level food types.

 

Your task is to determine the percentage of orders since July 1, 2013, that include the Food category (Pizza or Burger) paired with a Side AND Drink. To accomplish this, you need to determine the total number of orders placed within the specified timeframe and identify those that meet the criteria for the potential meal deal you are considering for your menu.

 

Hint 1: Remember to combine the dataset with the lookup tables and filter by date.

Hint 2: Remember to account for dates after June 30, 2013 to include July 1, 2013 in the output.

 

Your final result should look like the following image:

 

Output.png

 

 

 

 

 

 

 

 

Spoiler
Hint: A combination of Join, Filter, Summarize, Cross Tab, Append Columns, and Summarize tools should solve your problem, not necessarily in this sequence.

 

If you find yourself struggling with any of the tasks, feel free to explore these interactive lessons in Maveryx Academy for guidance:

Once you have completed this quest, capture a screenshot of your finalized workflow in Designer Cloud and attach the image of your solution to a comment on this post.

 

Here’s to a successful quest!

 

SOLUTION

 

We want to hear from you!

As we introduce our Cloud Quests for the first time, we value your input. Share your thoughts on the clarity of instructions, the provided dataset, the expected output, and any suggestions to enhance your experience.

 

Thank you!

 

AYX-Maveryx_Micro Identity-Maveryx Academy_wordmark.png

67 REPLIES 67
WilliamR
Alteryx
Alteryx

My solution

Spoiler
 

Quest2.pngQuest2Result.png

SeanAdams
17 - Castor
17 - Castor

Very similar solution to most of the other folk.

 

Screenshot 2024-09-07 191756.png

 

image.png

 

 

I'm trying to use the Cloud Native version to get a sense of the capabilities of this - since that's gotta be the future of the platform.

 

 

terry10
12 - Quasar
Spoiler
CQ2.PNG

I used standard mode.

smurfitt
7 - Meteor

From looking at the steps I followed and the solution, it looks like I should have the same results, but obviously my filter is returning more rows as I have different number than expected results.

MeenakshiKumar_
5 - Atom

Hey Everyone! 
Here's my submission.

mzegrodzki
Alteryx
Alteryx
Spoiler
MZ Quest2.png
Carolyn
12 - Quasar
12 - Quasar

Oof, that was rough. The challenge itself wasn't bad but I spent awhile chasing down why I didn't match the solution in the initial post or in Josh's video - I kept thinking I was doing something wrong, built it in Designer Desktop, and even went to Excel as the tiebreaker..... it's that the solution of 14,450 is a Sampled solution, not the full solution

 

The POS initial csv file has 269,375 rows. However, with the sampled solution, you start with 254,750 rows. I finally figured it out when I uploaded someone else's solution, connected it with my data, and saw the 14,450 appear instead of the 15,497 that was on my screen with the exact same file, and felt like my data was messing with me.... nope, just sampled. 

 

FYI @AYXAcademy 

 

Spoiler
2024-11-27_16-31-32.png

2024-11-27_16-48-35.png
LeandraN
Alteryx
Alteryx

A little messy but I got it! 

 

Spoiler