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.
Hi
I am having Sales data of more than 200000 records. Below is the dummy data
I want to calculate the following,
1) How many new customers came on a monthly basis?
I want to check how many new customers came on board every month. If Customer A came in Jan, then customer A should not be counted for the rest of the month. I need to calculate the distinct count of customers. I need the output as below
Customer A, B, C, D came in Jan, so they should not be counted as a new customer in other months. I used distinct count, but when I compare it with month, it's not showing the correct result.
2) How many new customers are brought by each salesperson on monthly basis?
I need the same principle as above for Salesperson
Can anyone advise how to do?
Solved! Go to Solution.
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
If this post helps, then please consider accepting it as the solution to help other members find it faster, and give a big thumbs up.
This article shows how most peole usually approach it with the EXCEPT function. If this is slow, there is a faster pattern you can try by subtracting the distinctcount of the previous month from the distinctcount of the current and previous month combined.
Power BI: New and Repeat Customers - Finance BI (finance-bi.com)
Pat
To learn more about Power BI, follow me on Twitter or subscribe on YouTube.
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
107 | |
105 | |
79 | |
69 | |
62 |
User | Count |
---|---|
142 | |
105 | |
103 | |
85 | |
70 |