Sample data
Made-up data. If you have not loaded it yet, ask your assistant:
Load https://gotsimplified.com/samples/shop_orders.csv into my data lake as samples.shop_orders, replacing it if it already exists.
Download: shop_orders.csv
Try this
Split last month's revenue change in shop_orders into price, volume and mix by product, using units as the quantity.
Did revenue per unit change because prices moved inside categories or because the category mix shifted?
Your assistant may word its answers differently each time; the numbers come from your tables.
What you should see
With the sample data. Use these to check the answer.
- Fewer units take away 1,466; price adds 285 and mix adds 250.
- The new Cold brew kit adds 1,008.
- Revenue per unit goes from 9.58 to 11.73.
What you need
The shop_orders model.
How to read the answer
The steps add up from September to October.
Good to know
Price here means revenue divided by units, so discounts count as price.