Starting December 3, join live sessions with database experts and the Microsoft product team to learn just how easy it is to get started
Learn moreGet certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register now
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
Solved! Go to Solution.
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
Proud to be a Super User!
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
Proud to be a Super User!
Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.
March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Early Bird pricing ends December 9th.
User | Count |
---|---|
88 | |
86 | |
82 | |
68 | |
49 |
User | Count |
---|---|
138 | |
111 | |
104 | |
65 | |
64 |