CRM analytics · Tableau
Customer Segmentation & Lifetime Value
Retail transaction analysis to identify high-value customers and opportunities for retention.

In this project
The question
Which customer groups generate the most revenue, and which may benefit from a retention campaign?
My approach
I cleaned and aggregated retail transactions at customer level. I grouped customers by recency, frequency and spending, estimated customer lifetime value, and built Tableau views for exploring groups such as loyal and at-risk customers.
What I found
The dashboard covers 4,219 customers. Champions represented about 11% of customers and accounted for 48.82% of revenue. Repeat buyers made up 64.4% of the customer base. The segmentation helps a team prioritize who to retain and where to test different messages.
Open the Tableau dashboard · See the original case in Notion
Read the field note on interpreting RFM segments.
Title
Customer Lifetime Value & RFM Segmentation Analysis
Overview
This project analyzes customer purchasing behavior using transaction data to uncover key drivers of revenue and customer value.
The analysis focuses on:
- Customer segmentation (RFM)
- Customer Lifetime Value (CLV)
- Revenue concentration
- Behavioral patterns (frequency, recency)
The goal is to extract actionable business insights that can support retention and revenue growth strategies.
Dataset & Preparation
The dataset includes transactional data such as:
- Customer ID
- Invoice data
- Quantity & Unit Price
- Revenue
Data cleaning steps:
- Removed missing Customer IDs
- Excluded cancelled transactions
- Filtered negative quantities and prices
- Created
Revenuemetric - Aggregated data at customer level
Methodology
1. RFM Analysis
Customers were segmented based on:
- Recency → How recently they purchased
- Frequency → How often they purchase
- Monetary → Total spending
This allowed identification of key segments such as:
- Champions
- Loyal Customers
- At Risk
- Low-value customers
2. Customer Lifetime Value (CLV)
CLV was estimated using:
- Average order value
- Purchase frequency
- Customer lifespan
This provides a proxy for long-term customer value.
3. Exploratory Data Analysis (EDA)
Key analyses included:
- CLV distribution (skewness & outliers)
- Frequency and recency patterns
- Revenue distribution across customers
- Pareto analysis (revenue concentration)
Key Insights
- A small percentage of customers generates a disproportionately large share of total revenue (Pareto effect).
- High-value segments (e.g. Champions) have significantly higher CLV compared to average customers.
- Repeat customers contribute the majority of revenue.
- Customer value distribution is highly skewed, with a long tail of low-value users.
Business Recommendations
1. Focus on High-Value Customers
- Prioritize retention strategies for “Champions”
- Implement loyalty or VIP programs
2. Re-engage At-Risk Customers
- Target customers with high past value but declining activity
- Use personalized offers or campaigns
3. Reduce Reliance on One-Time Buyers
- Improve onboarding and first purchase experience
- Encourage repeat purchases (bundles, discounts)
4. Optimize Marketing Spend
- Allocate budget toward high-CLV segments
- Avoid overspending on low-value acquisition
Tools Used
- Python (Pandas, data cleaning & feature engineering)
- Tableau (dashboard & visualization)
Conclusion
This analysis highlights the importance of customer segmentation and lifetime value in understanding business performance.
By focusing on high-value customers and improving retention, companies can significantly increase long-term revenue.


