2022: Week 9 - Customer Classifications
Challenge by: Jenny Martin Recently, I was doing some Tableau Desktop training that went off on a bit of a tangent. After introducing cohort analysis, I was asked whether we could see the year on year difference in the number of customers. This was answered with a quick table calculation. However, the follow up question of how to get a list of the 158 customers who didn't order again in 2019 had me fairly stumped! After lots of playing around and chatting it through with various colleagues, I came up with a solution that used LODs and Parameters, but all the while I was wishing I could solve the problem in Tableau Prep instead. So of course, I did! I'm really excited to see the different solutions for this week so don't worry if your instinct is to deviate from the requirements below. Here are the definitions for how we will classify the customers: New = this is the first year the customer has ordered Consistent = the customer ordered this year and last year Sleeping = th...