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

SueDonim
8 - Asteroid
Spoiler
clipboard_image_0.png


- Filter by date to capture tickets from 1 July 2013
- Upper portion to calculate total number of tickets in relevant time period
  -- Count unique ticket IDs
  -- Rename field
- Lower portion to calculate total number of meals that were possible meal deals
  -- join both tables
  -- change [price] to number (easier to work with than string)
  -- cross-tab on type and price for each ticket
  -- identify potential "meal deal" ((burger OR pizza) AND (drink AND side))
  -- filter for "meal deal" records
  -- count records
- Join total and meal deal counts
- Calculate %
 

Probably not an elegant solution, but it worked

jarjarbingie
8 - Asteroid
Spoiler
clipboard_image_0.png
Yoyo_Master
6 - Meteoroid

Interesting challenge

Spoiler
clipboard_image_0.png
JennyMartin
9 - Comet
Spoiler
AWC8.PNG

Good challenge for beginners

rmforcreamlisa
7 - Meteor

Here is my solution.  

jusdespommes
8 - Asteroid

From June confused me - but read the comments below and understood what you meant. Nice, thank you 🙂

 

Spoiler
WeeklyChallenge8.PNG
DuncanT
Alteryx Alumni (Retired)

Here's my solution.

DuncanT
Alteryx Alumni (Retired)

oh, saw it was top 5 only. Fixed to do that (with my rank hack it was easy, I just joined with a text file with numbers 1-5 instead of 1-12)

WilliamR
Alteryx
Alteryx

Using a crosstab

Spoiler
Capture.PNG
kmbutterfield
7 - Meteor

FINALLY!!