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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
Mdobbels
Frequent Visitor

Measure to calculate which customers are New/Current/Lost

I would need a measure to divide my clients into the categories: Lost, New and Current.

 

The definitions for these categories are:

New= No Revenue before this year
Lost= No Revenue in the last 3 months (and not new)

Current= Not New nor Lost

 

Extra difficulty. As the information is coming in after closing we should actually make it so that "Before last year" is actually in the year before the last revenue was uploaded.  (The December 2021 information is in the refresh around January 6th, so as long as the January 2022 is not uploaded, before last year should be 2020) 

 

The same difficulty also applies to the definition of "Last 3 months)

 

Thank you in advance.

 

 

2 REPLIES 2
Greg_Deckler
Super User
Super User

@Mdobbels Check out New and Returning Customers: https://community.powerbi.com/t5/Quick-Measures-Gallery/New-and-Returning-Customers/m-p/168297#M13

 

I also have a many similar calculations for customers in DAX Cookbook. Chapter 6: PacktPublishing/DAX-Cookbook: DAX Cookbook, Published by Packt (github.com)


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

Hi @Greg_Deckler ,

 

Is it in your solution possible to see which clients are the new, lost and current customers?

Because I don't want to count them, I want to know which customers are new or lost so that Sales can act upon this information.

 

Kind regards,

Matthias

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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