2021: Week 50 - Departmental December - Sales

Challenge By: Jenny Martin

Uh-oh, looks like the Sales Team at AllChains have gone rouge with their trackers again. They can't even maintain consistency month to month! And what's the idea with having the Salesperson names at the end of each month? 

This challenge was inspired by a dataset my colleague Ollie encountered, except that dataset didn't have a RowID. If you think of a way to solve this challenge without a RowID we'd love to hear about it!

Inputs

October Tracker:

November Tracker:


Requirements

  • Input the data
  • Fill in the Salesperson names for each row (the name appears at the bottom of each monthly grouping) hint
  • Bring out the YTD information from the October tracker and use it to create YTD totals for November too
  • Reshape the data so all the bike types are in a single column
  • Output the data

Output


  • 5 fields
    • Salesperson
    • Date
    • Bike Type
    • Sales
    • YTD Total
  • 915 rows (916 including headers)
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