2022: Week 34 - C&BSCo Parameters, Parameters, Parameters

 Created by: Carl Allchin

The CEO of Chin & Beard Suds Co has a challenge for you... but it's not exactly work related! 

They want you to create an application that will allow them to analyse their Spin Classes. They've collected all of their data but just want to know their top rides for different coaches and music types. As CEO, they also expect to be able to pick the number of entries returned too! 

Input


Requirements

  • Input data
  • Merge Km's and min's as Minutes
  • Change 'Value' to Mins
  • Split up the unnamed column into:
    • Coach
    • Calories
    • Music Type
  • Change Music Type values to be Title Case (first letter of each word is capitalised)
  • Create three parameters:
    • Music Type
    • Coach
    • Top N 
  • Create a way to return the Top N value selected and order the file with the highest calories burnt at the top
  • Create filters so only the parameter selection remains in the output data set
    • For Top N parameter it's all the values up to that number
  • Output the data but use the parameter values in the file name so the CEO knows what it contains

Output

An example output (you may select something different with your parameters)


6 Fields:
  • Rank
  • Coach
  • Calories
  • Music Type
  • Date
  • Mins
Rows: depends on the Top N selected

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