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

62 REPLIES 62
Bren_Spill
12 - Quasar
Spoiler
Quest #2 Workflow.PNG

Quest 2 Result.PNG

 

 

The_Rad_Valentina
8 - Asteroid

So I learned that naming the columns is a bit finicky here. 

 

Spoiler
Screenshot 2024-03-12 153702.png
Treyson
13 - Pulsar
13 - Pulsar

Just a reminder! you need to attach something to your comment to get the credit for the badge.

Treyson Marks
Managing Partner
DCG Analytics
gawa
16 - Nebula
16 - Nebula

I like UI of Cross-tab tool in Designer Cloud. 

Spoiler
By utilizing Count null and Count of Summarize tool, we can directly get Total... and Potential... columns without branching and join.
image.png
OllieClarke
15 - Aurora
15 - Aurora

As others have mentioned I think a 'select all' columns for cross-tabbing is essential. I also spent a *lot* of time waiting for data to load even having created new samples. This is especially annoying with blocking tools like the Cross-Tab coz you're just stuck with it.
image.png

 

OllieClarke
15 - Aurora
15 - Aurora

Gave up on my original workflow, made a new one and then everything worked beautifully.

 

Spoiler
Quest_02.png
logdog0411
9 - Comet
Spoiler
Bellamy CQ2 240404.png

Diederik_vanderharst
8 - Asteroid

Voila, finding my way in A-cloud gradually.

Spoiler
Scherm­afbeelding 2024-04-09 om 15.14.16.png

DaanVerkerk
6 - Meteoroid

Without an append tool, mostly using logic. Only issue I ran into was getting 2 decimal point rounded correctly

Spoiler
Scherm­afbeelding 2024-04-10 om 08.47.20.pngScherm­afbeelding 2024-04-10 om 08.49.18.png
messi007
15 - Aurora
15 - Aurora

My solution.

Spoiler
Screenshot 2024-04-10 161133.png