Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hello
I'm counting the number of new customers in a measure by year iterating through each Customer ID. The 1 in Number of New Customers indicates that it's a new customer. I'm using SUMX, how can I get the total?
Here's my code:
Solved! Go to Solution.
Hi, @Anonymous
If it is OK with you, please share your sample pbix file's link here, then I can try to look into it to come up with a more accurate measrue.
Thanks.
Hi, @Anonymous
Thank you for sharing.
Please check the below picture and the link.
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
Hi, @Anonymous
If it is OK with you, please share your sample pbix file's link here, then I can try to look into it to come up with a more accurate measrue.
Thanks.
Hi @Jihwan_Kim
Thank you for replying, I have attached a sample file of what I'm trying to do.
Sample File
Please note that it has to be a measure and not a calculated column.
Hi, @Anonymous
Thank you for sharing.
Please check the below picture and the link.
Hi, My name is Jihwan Kim.
If this post helps, then please consider accept it as the solution to help other members find it faster, and give a big thumbs up.
Linkedin: linkedin.com/in/jihwankim1975/
Twitter: twitter.com/Jihwan_JHKIM
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |