2022: Week 19 C&BSCo Good Sales but Wrong Sizes
Created by: Carl Allchin
This week's challenge brings back every Preppers' favourite retailer, Chin & Beard Suds Co (C&BSCo).
The data team have raised an issue that sales are being made but the products sold are being recorded poorly. Each product sold is recorded but it seems the sales team in each store has been wrongly recording the size of the product.
Each product in our range has a set size. Can you help prepare the data to show how bad the issue is?
Input
Product Set
This is the full list of all products sold
Size Table
The lookup table for the Sales Size columnRequirements
- Input all three sheets of data
- Change the Size ID to an actual Size value in the Sales table
- Link the Product Code to the Sales Table to provide the Scent information
- Create an Output that contains the products sold that have the sizes recorded correctly (Output 1)
- Create another data set that contains all the Products sold with the incorrect sizes and what the sizes should have been
- Aggregate this data to show each Product Sold, the Scent and the Size it should be with how many sales have incorrectly been recorded for each.
- Output this data (Output 2)
Output
Output 1: Correctly Recorded Sales
4 Fields:
- Product Size
- Scent
- Product
- Store
40 Rows (41 including headers)
Output 2: Wrongly Recorded Sales
4 Fields:
- Number of Sales with wrong size
- Product Code
- Product Size (based on the product list)
- Scent
You can download the full output here.
After you finish the challenge make sure to fill in the participation tracker, then share your solution on Twitter using #PreppinData and tagging @Datajedininja, @JennyMartinDS14 & @TomProwse1
You can also post your solution on the Tableau Forum where we have a Preppin' Data community page. Post your solutions and ask questions if you need any help!