The Alteryx Community is a finalist in three 2026 CMX Awards! Help us win Customer Support Community, Most Engaged Community, and User Group Program of the Year - vote now! (it only takes about 2 minutes) before January 9.
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests Early 2026. Make sure to check your account preferences in my.alteryx.com to make sure you have filled out your security questions. Learn more here
Start Free Trial

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

zpatel
6 - Meteoroid

My Solution

nguyentuan
5 - Atom

Similar solution

Sivashankaran
7 - Meteor

Sivashankaran_2-1706955687367.png

 

 

 

 

  1. Join two data together based on common column "Desc"
    2.Filter the records from "2013 July 01"
  2. Grouped Data by TicketID and aggregate count() data by price.
  3. Then using this below Formula to set a Flag as 1 or 0 on Column "Potential Meal Deal" based on objective to filter out the records,

if (!IsEmpty([CountWithNulls_Pizza]) or
!IsEmpty([CountWithNulls_Burger]))
and
(!IsEmpty([CountWithNulls_Side])
AND
!IsEmpty([CountWithNulls_Drink]))
then
1
else
0
endif

  1. Aggregate count and sum for "Potential Meal Deal" column
  2. Use this formula [Sum_Potential Meal Deal] / [Count] * 100
    to figure out %

 

Thanks,
Siva

 

NN
5 - Atom

First solution.

Mikeimbi
8 - Asteroid

Challenge 8

JWAJ
7 - Meteor

This is one way of solving the challenge

Yogesh_Kalantri
7 - Meteor

Screenshot 2024-02-07 224043.jpg

First Challenge completed as part of Designer Onboarding process.

james_western_HUN
7 - Meteor

I interpreted "Since June" to include the period of June. Easy enough to change my date filter after seeing my final answer didn't match the output tab...

 

Spoiler
Join the data to add type; Filter by Date; Multiple filters for Condition A, then Join Condition B and C. Summarize the filter results and finally Join those result streams. Formula tool to create the final %.
danbostrom
8 - Asteroid