Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
Hi, i'm looking to create a calculation that shows over the course of the financial year how many customers we have who have made repeat purchases. This would be split into, new customers in the financial year making multiple purchases and retuning customers who make multiple purchases. What would be perfect is if could filter the products based on the numbers of these customers to see how many orders included the products and how much money was spent.
For the customers, my desired layout would look like the below:
Date New Customers New Customers (multiple) Returning Customer Returning Customer (multiple)
2021 1620 214 100 20
Any help would be very much appreciated!
Hi @Jameswh91 ,
this is a perfect use case for the new window functions: Introducing DAX Window Functions (Part 1) – pbidax (wordpress.com)
If you cannot make it work after reading that article, please paste proper sample data and description of the desired result:
help how to get your questions answered quickly - Microsoft Power BI Community
Imke Feldmann (The BIccountant)
If you liked my solution, please give it a thumbs up. And if I did answer your question, please mark this post as a solution. Thanks!
How to integrate M-code into your solution -- How to get your questions answered quickly -- How to provide sample data -- Check out more PBI- learning resources here -- Performance Tipps for M-queries
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!
| User | Count |
|---|---|
| 10 | |
| 9 | |
| 6 | |
| 5 | |
| 3 |