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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
I have a table as shown in the image with opportunity codes that are unique and do not repeat and I also have a column that is the ID_Cliente that can be repeated several times.
I want to get a calculated column that puts me "1" for each id_cliente counted only 1 time, but it is counting me only the only ones with this DAX formula
I want you to tell me both the only ones that are not repeated, as well as the repeated but counted only 1 time. So the table would look as shown in the image. I appreciate any ideas or help.
Solved! Go to Solution.
Hi @Syndicate_Admin ,
Update your counting formula for :

Did I answer your question? Mark my post as a solution! Appreciate your Kudos !!
Hi Could you help me with this request, I'm trying to place this formula, if(CALCULATE ( COUNT ( 'Table'[id] ), ALL except ( 'Table','Table'[id] ) )=1,1,blank()), but I can't find the count function and the third criterion of the if function (i.e. the blank one) doesn't work.
Hi @Syndicate_Admin ,
Update your counting formula for :

Did I answer your question? Mark my post as a solution! Appreciate your Kudos !!
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 |
|---|---|
| 57 | |
| 44 | |
| 40 | |
| 21 | |
| 18 |