2022: Week 30 C&BSCo Actual Sales Values

 Created by: Carl Allchin

Welcome to the final week of beginners' month in July. 

Chin & Beard Suds Co (C&BSCo) have been recording the percentage contribution of the top 3 sales people in each of their stores. They want to know how much value this actually equates to. This week's challenge will let you experience one final technique we haven't used this month yet, Unions. 

Here's more support with Unions if you are new to them:

Input

There are four files you will need to input this week. 

There are two inputs for Sales Data in each of our Regions (East and West). They are the same structure of data fields:

The third file is a Store ID lookup table:

The fourth file is same as the original input for Week 27:

Requirements

  • Input the 'Top 3 Sales People per Store' for both regions: East & West
  • Combine these files
    • Bonus challenge for experienced Preppers - take the Region Name from the File Name. For newer Preppers, use the Region name field from the Week 27 Input later in the challenge
  • Input the 'Store Lookup' file to provide the name of the Stores instead of the ID number
  • Remove any duplicate fields you have in the data set so far
  • Input the Week 27 Input file
  • Use Week 27 Input file to create Sales Values for each Store
  • Combine this data with the rest of the prepared data
  • Use the data set you have created to determine the actual sales value (rather than percentage) for each sales person
    • Multiply the Sales Person percentage contribution against their Store's total sales for the year
  • Output the data (removing any remaining duplicated fields)

Output

One file:

6 data fields:
  • Sales per Person
  • Store Name
  • Region
  • Sales Person
  • Percent of Store Sales
  • Sales Value
18 rows (19 rows incl. headers)

Note: Tableau Prep is very detailed with it's decimal places, if you use a different tool, slightly different rounding is fine

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! 

Popular posts from this blog

2023: Week 1 The Data Source Bank

2023: Week 2 - International Bank Account Numbers

How to...Handle Free Text