Power BI is turning 10, and we’re marking the occasion with a special community challenge. Use your creativity to tell a story, uncover trends, or highlight something unexpected.
Get startedJoin us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. 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
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
10 | |
9 | |
8 | |
6 | |
5 |
User | Count |
---|---|
20 | |
14 | |
10 | |
9 | |
6 |