2019: Week 14

This week our challenge inspiration comes from Zen Master Emma Whyte. Please thank / blame [delete as applicable] her rather than Jonathan and myself this week.

The challenge this week focuses on Whyte's Cafe based in Stevenage in the UK. The cafe has been growing well and brings in a good amount of revenue but like any business, they are trying to drive for more. Many popular lunch shops provide a 'Meal Deal' when you can purchase a drink, a snack to go with a main for a set price. Whyte's Cafe wants to know how much it would cost them to install a Meal Deal (for £5 each meal - what a bargain!) option on their menu as the ownership team believe it will entice a lot more customers through the door.

The data set at Whyte's Cafe is largely excellent (we wouldn't expect anything less). Each row of data is a product sold as part of an order (ticket). Some customers are members of the cafe (a loyalty scheme) that allows to understand who is ordering. Maybe for some future analysis we'll factor that in but for now we'll leave it in the final data set.

Requirements

  • Input data
  • There's been a system error so clean up:
    • Null Price should be 1.5
    • Null MemberIDs should be 0
  • Not every product goes in to the Meal Deal so we need to work out the 'Excess Items' cost on top of the Meal Deals. Use the average cost per type of product within that ticket to work this out.
  • We only want to analyse tickets that would be affected by the Meal Deal
  • The Meal Deal is set at £5 each
Overall goal is to determine the difference between our original income and the income using the new pricing model. 

Note: you will need version 2019.1 as the solutions we created all needed Rows to Columns

Outputs



(images and solution post updated on 21/05/2019)
  • What is the total variance between actual total ticket prices and the expected revenue from the meal deal procing?
  • Provide a detailed output at the ticket level including:
    • Total Ticket Price (the total price without the affects of the new Meal Deal pricing)
    • Total Meal Deal Revenue (£5 multiplied by number of Meal Deals on the ticket)
    • Total Excess Products Revenue (additional items that aren't included in the Meal Deal)
    • Ticket and Member ID
    • Actual Ticket Revenue compared to Potential Revenue (Meal Deal Revenue plus Excess Product revenue)
  • Depending on where you round the values will change the answer slightly (that's fine as we care more about the techniques)
  • Detailed output:
    • 20,278 rows (20,279 including headers)
    • 6 columns of data
    • No Nulls
For comparison, here's our output files. Don't to forget to fill in our participation tracker!

Comments


  1. Hi,
    The variance is defined above as Actual Ticket Revenue compared to Potential Revenue.
    If I am not misunderstand, it means original total price minus new total price(Meal Deal + Excess).
    As my opinion, it does not make sense that the variance be negative.
    If I am the customer, I should not pay more for the same items as Meal Deal package.
    Because I could split all my meals into 2 orders without any Meal Deal package, and that will be cheaper.

    ReplyDelete
    Replies
    1. Hi, you are correct - there was an error in my calculations which I havenow resolved and updated the images above. Hope that makes sense.

      Delete

Post a Comment

Popular posts from this blog

What's Preppin' Data about?

2019: Week 1

2019: Week 2