Analytics Vidhya
Published in

Analytics Vidhya

Cohort Analysis with Tableau

Increase revenue and decrease customer churn

Photo by Chris Lawton on Unsplash

In this article, I would like to document my learning of cohort analysis. Cohort analysis is a way to group your customer based on the different traits.

There are two main way to divide customers

  1. Acquisition cohorts: Customer groups divided based on their first purchase day(join day).
  2. Behavioral cohorts: Customer groups divided based on their behavior. Such as frequency, or the payment method.

After understanding different cohort’s behavior, it is easier for the business to develop customized strategies.

Following, I would like to share how to do cohort analysis with Tableau. The data source is the Tableau superstore dataset, containing customer order information such as order date, customer name, region, etc.

Acquisition cohort Analysis

  1. Divided customers based on the first order date.
Use Tableau level of detail expression to fixed at customer ID level, and get their first order date.

2. Put order year in the x-axis, sales in the y-axis, customer first order date to color.

Based on the chart, customers who first placed an order in 2011 contribute an average of 65% of sales for each following year. The store can focus on a loyalty program to further improve customer engagement.

I hope you enjoying reading this:)



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store


📍San Francisco, CA| Business Analytics | Strategy | Payments |