2021: Week 2
Building on from Week 1's challenge, we are going to take your data prep skills on one step further. The next steps we are introducing this week are:
- Aggregation - changing the level of granularity of your data. The combination of the categorical fields often sets what each row represents so aggregating data changes this. In Tableau Prep this is different from how we aggregate in Tableau Desktop.
- Calculations - If the value or variable that you need to use isn't in your data set, you will often be able to create it from the other data fields you do have.
Also, thank you to all those who posted their solutions, in all the different tools on Twitter and the community forums last week. Keep sharing those solutions, you are helping more people learn these important skills than you think!
Challenge
This week we are looking at the different Brands of bikes available in our stores. We need to understand what are the most popular sellers and do the customers of the different brands have the same experience to other customers.
We are creating simple summaries this week to get a quick, tabular view of the answers. If you want to visualise the data to highlight those trends even more clearly, go for it!
Input
Requirements
- Input the data (help)
- Clean up the Model field to leave only the letters to represent the Brand of the bike (help)
- Workout the Order Value using Value per Bike and Quantity.
- Aggregate Value per Bike, Order Value and Quantity by Brand and Bike Type to form: (help)
- Quantity Sold
- Order Value
- Average Value Sold per Brand, Type
- Calculate Days to ship by measuring the difference between when an order was placed and when it was shipped as 'Days to Ship' (help)
- Aggregate Order Value, Quantity and Days to Ship by Brand and Store to form:
- Total Quantity Sold
- Total Order Value
- Average Days to Ship
- Round any averaged values to one decimal place to make the values easier to read
- Output both data sets (help)
Output
- Brand
- Bike Type
- Quantity Sold
- Order Value
- Avg Bike Value per Brand
- Brand
- Store
- Total Quantity Sold
- Total Order Value
- Avg Days to Ship