Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
HillUser1
Frequent Visitor

Determining lost customers

I am trying to calculate/identify the customer accounts that have been lost.

 

Problem: I have a dataset of all the workorders perofrmed for the last 5 Years. I need to isolate all the customers that are in the 5 year data based on the criteria 'we did not work with them in 2020'.

 

Attempted Solution: I created a filtered DAX table that isolated all the 2020 Customers from the master dataset. I am planning on adding a column to the Master 5 Year workorder table to return True or False if they exist on the 2020 Customer Table. I used the DAX formula Contains to see if the Customer ID was present in the 2020 Table to return a True or False Flag to Validate if we did work with that customer within the last year. This apporach errors out with a circular apporch. Is their a better approach?

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@HillUser1 , You can create a measure

Sales = sum(Sales[Amount])

if(isblank([sales]),1,0) , plot this with customer table , you will get customer who has not purchased from you till now.

 

On the same line refer to my blog for other combinations

 

Customer Retention Part 1:
https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-1-Month-on-Month-Retention/b...
Customer Retention Part 2: Period over Period Retention :https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-2-Period-over-Period-Retenti...

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@HillUser1 , You can create a measure

Sales = sum(Sales[Amount])

if(isblank([sales]),1,0) , plot this with customer table , you will get customer who has not purchased from you till now.

 

On the same line refer to my blog for other combinations

 

Customer Retention Part 1:
https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-1-Month-on-Month-Retention/b...
Customer Retention Part 2: Period over Period Retention :https://community.powerbi.com/t5/Community-Blog/Customer-Retention-Part-2-Period-over-Period-Retenti...

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

Find out what's new and trending in the Fabric community.