Don't miss your chance to take exam DP-600 or DP-700 on us!
Request nowLearn from the best! Meet the four finalists headed to the FINALS of the Power BI Dataviz World Championships! 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
Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.
Check out the February 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 6 | |
| 4 | |
| 3 | |
| 3 | |
| 3 |