2024: Week 14 - Store Data

Challenge by: Hewan Zewdu

For April, one of The Data School cohorts (DS43) are taking over #PreppinData with a set of challenges all based on our new (fake) company SuperBytes - everyone's favourite Supermarket! Over to Hewan for the first challenge of the month. 

_____________________________________

This week at SuperBytes there has been a manufacturing issue, and as a result a number of items must be recalled from the shelves!

Input

There is 1 input Excel file with two sheets. You can download the input from here.

Requirements 

  • Input the data tables
  • Identify which recalled items are located in each store

  • Create a field which shows how much money will be lost for each item

  • Then calculate how much money will be lost for each category, and round it to 2 dp

  • Output this first dataset

  • Phill Down (the CEO of SuperBytes) now needs to know how much money each store has lost! Find those values for each store, again rounding to 2 dp.

  • Mr Down has decided that any store that has lost £5000 or more is considered 'High Priority' and anything below that is 'Low Priority'. Create a new field that identifies which stores are High or Low priority. 

  • Output this second dataset

Output

Output 1

2 Fields:

  • Category
  • Total Price Rounded
5 rows (6 incl. headers)

Output 2


3 Fields:

  • Store
  • Total Rounded Price
  • Issue Level

10 rows (11 incl. headers)

You can download the outputs from 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! 

Popular posts from this blog

2024: Week 1 - Prep Air's Flow Card

2023: Week 1 The Data Source Bank

How to...Handle Free Text