Skip to main content

RFM Segmentation

Source


You must be aware of various customer segmentation techniques and analyses. Let's discuss one of the most important analyses today i.e. RFM Segmentation. What is this 3 letter term can do? The answer is it can do wonders let's get to know more about it. RFM analyses are the method of separating your customers based on RFM scores which will help you in identifying your best customers and lost customers. RFM is an acronym for Recency, Frequency, and Monetary. The main idea behind this analysis is to understand your customers well because it will separate your customers based on how recently your customer made any purchase, how often they are buying, and what is the average cost of their orders.

RFM analyses can be performed in various analytical and programming tools such as Python, R, and Excel. I have done it in Excel on sample data. How to do it in Excel? 

  • Select the right data and insert a pivot table and select the pivot table field accordingly in my case I have selected the product ID, customer ID, profit, and recency.


  • Now we need to obtain the RFM score to categorize the customers for that you need to obtain quartiles of your data set separately for recency, monetary, and frequency for that we will use Quartile.inc($data$range, 0 to 4 )


  • Add columns separately for r score, f score, and m score. These scores can be obtained by nested IFs formula. After obtaining all scores use a simple formula to obtain rfm score i.e. R score*100 + F score *10 + M score*1.
R Score =IF(B4>128;1;IF(AND(B4<=128;B4>82);2;IF(AND(B4<=82;B4>38);3;IF(B4<=38;4))))
Column B represents the recency.


Based on your RFM score you can segregate your customer using nested IFs and quartile.inc. If we consider this analysis it is based on the behavior history of any customer which can change in the future. In that case, you can't totally rely on such analyses for that there are many other advanced customer segmentation techniques that are based on predictive analytics. Also, this analysis is mainly focused on 3 variables (recency, frequency, and monetary) which are vital but there can be other variables in different datasets that should be considered for customer segmentation. Your method can differ depending on your dataset but the idea will remain the same.

Overall such analysis is highly data-driven in nature and allows us to make informed decisions. Strategies can be made by focusing on different groups which will help any organization to improve the customer retention rate and engagement rate. 

Thanks for Reading  Let's connect on  LinkedIn






Comments

Popular posts from this blog

Identify and Delete Unused Columns & Measures

Heavy dashboards and a bad data model is a nightmare for every BI Developer. Heavy dashboards can be slow due to multiple reasons. It is always advised to stick with best practices. Are you still figuring out about those best practices then you should definitely have a quick read on Best Practice Analyser ( link ). One of the most common issues with slow dashboards is unused columns and unused measures.  It is very normal to load some extra columns and create some test measures in your dashboard but as a part of cleanup process those unused columns and unused measures should be removed. Why we are removing them? Because if you keep them then ultimately it will increase the size of your data model which is not a good practice.  How to identify the culprits (unused columns and unused measures)? In today's blog we will provide you with 2 most common external tools which will help you in identifying the culprits. More external tools😒. Who's going to pay for this? To your surprise...

Best Practice Analyser (BPA) Guide

Do you want to save tons of efforts to check if your data model and PBIX file follows the standard best practices and norms? Then this blog is for you. If you are a follower of our channel we already deep dive into the importance of the DAX Studio as an external tool. If you are a beginner I would highly recommend to visit this blog . In today's blog we will check how Tabular Editor can help to optimize the data model.  Best Practice Analyser allows to define or import best practices. It will make sure that we do not violate the best practices while developing a dashboard. Isn't it exciting!! Before we start make sure you already have Tabular Editor version 2.24.1 installed on your system. To install it do visit this link and select the link for windows installer. Once Tabular Editor is installed it will reflect in your PBIX file under external tool. Also, we need to define the standard rules. To do so in your advanced scripting or C# script copy this and save it via Ctrl+S. An...

Copying Bookmarks from one Power BI report to another

Let's think of a scenario, where you want to copy the bookmarks from one report to another. Most obvious approach is to just do a copy paste of the bookmarks. What's wrong with this approach? This approach only works for all visuals but not for bookmarks and field parameters.  If you are not familiar with basics of bookmarks and field parameters do refer to the beginners guide for bookmarks  and introduction to field parameters . Then how do you copy the bookmarks? Power BI enhanced report format (PBIR) for Power BI Project files (PBIP) will help you in achieving this. Let's check it out, I have 2 reports one contains the bookmark called Bookmarks PBIR Test (origin) and other one is Rolling Average PBIR Test (destination) .  Before we get started, you have to enable Power BI Project save option under preview features. Once enabled, restart Power BI desktop. There is a TMDL icon appearing on the left pane. What is TMDL and what's in it for me? There's a lot of possi...