cancel
Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Reply
ayushmittal22
Frequent Visitor

New v/s Existing customer split

Hi, I have customer_ids in my data and I want to find out how what % of the total customer ids were present in the data before this month and how many are unique to this month. 

With this, I want to find out the percentage % split between New v/s Existing Customers month on month. 

For ex- Out of 100 ids, 45 were present in previous months' data and 55% are unique to this month. 

I would do it manually on Excel, but rows are >4 million.

How can I do it? Please help!!

 @amitchandak @Greg_Deckler @Jihwan_Kim 

1 ACCEPTED SOLUTION
visheshjain
Solution Supplier
Solution Supplier

Hi @ayushmittal22,

 

I would approach the problem something like this:

 

1. Get a virutal table of customers who have sale >0 before the current month.

2. Get another virtual table of the customers who have sale >0 in the current month.

3. Use the EXCEPT() function between both the virtual tables, leaving only the new customers in the current month.

4. Count the rows of the table obtained in the previous step.

5. Divide this number by the total number of unique customers until the last sale date.

 

Hope this helps.

 

Thank you,

Vishesh Jain

Did I answer your question?
If yes, then please mark my post as a solution!

Thank you,
Vishesh Jain

Proud to be a Super User!



View solution in original post

1 REPLY 1
visheshjain
Solution Supplier
Solution Supplier

Hi @ayushmittal22,

 

I would approach the problem something like this:

 

1. Get a virutal table of customers who have sale >0 before the current month.

2. Get another virtual table of the customers who have sale >0 in the current month.

3. Use the EXCEPT() function between both the virtual tables, leaving only the new customers in the current month.

4. Count the rows of the table obtained in the previous step.

5. Divide this number by the total number of unique customers until the last sale date.

 

Hope this helps.

 

Thank you,

Vishesh Jain

Did I answer your question?
If yes, then please mark my post as a solution!

Thank you,
Vishesh Jain

Proud to be a Super User!



Helpful resources

Announcements
PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors
Top Kudoed Authors