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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
ebeauchamp
Helper I
Helper I

Finding customers that transacted in the past 2 months but stopped in the last 15 days

Hi,

Tried many of the suggestions for This Period vs Last Period to calculate the customer churn, but cannot yet nail the solution down. The goal is to have the count and the list of customers that were transacting in the last X days, but did not in the last Y days. These 2 items possibly as variables. The context is there is a transaction table, where the daily "usage" (or sales) is reported. So typically a customer has usage on a daily basis, but we want to easily find those who stopped transacting in the short term. Any help appreciated, thanks! 

1 ACCEPTED SOLUTION

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

View solution in original post

5 REPLIES 5
Ashish_Mathur
Super User
Super User

Hi,

Share some data and show the expected result.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Very basic example:

DateCustomerSales
2019-10-07CustomerY40
2019-11-15CustomerA23
2019-11-17CustomerB12
2019-12-08CustomerA78


Always using today (Dec 14 for the example) as the reference.
From this table, only Customer B had sales in the last 60 days, but no sales in the last 15 days.

The expected result is the list of customers matching these 2 criteria, to know who they are.
The 60 days and 15 days can be hardcoded in the measure for now, and eventually I would set them via a slicer.

Thanks!

Hi,

You may download my PBI file from here.

Hope this helps.

Untitled.png


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Thank you very much, added those concepts to my report and it now works like a charm.

You are welcome.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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

Top Solution Authors