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

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

66 REPLIES 66
jpowellsd
Alteryx
Alteryx

my solution - summarize tool takes a little getting used to - 

Spoiler

Cloud Quest 2 Solution.jpg

Pilsner
10 - Fireball

My Solution:

Spoiler
2.png

mshishido
8 - Asteroid

My solution

mshishido
8 - Asteroid

Here is the json file

ggruccio
ACE Emeritus
ACE Emeritus

Result in the preview was similar to the on-screen result in the writeup, but when I ran the challenge, the percentage differed slightly.

 

Spoiler
Screenshot 2024-07-03 111526.pngScreenshot 2024-07-03 111739.png
AlteryxAlexB
Alteryx
Alteryx

My solution!

 

Spoiler
Cloud Quest 2.jpg
SJKIM
8 - Asteroid

Done

I think it will be difficult to continue "CLOUD" due to the speed is too slow compared to the Designer.

thomasduong
8 - Asteroid

Screenshot 2024-08-01 at 15.48.06.png

patrick_digan
17 - Castor
17 - Castor
Spoiler
image.png
KateG
Alteryx
Alteryx

KG Solution

 

Workflow:

Screenshot (186).png

 

Results:

Screenshot (187).png