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 am Trying to Get a SUM of a COunt of Customer Names. They are not summing.
Solved! Go to Solution.
Hi @mcornfield ,
Try the following code:
Count = COUNTROWS ( FILTER(SUMMARIZE(Table,Table[CustomerName], "Customer Total", [Customer Tolal]),[Customer Total] > 0 ))
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsYou can iterate over each of the customers like this:
SUMX (
VALUES ( Table[CustomerName] ),
IF ( [Customer Total] > 0, 1, 0 )
)
Hi @mcornfield ,
Try the following code:
Count = COUNTROWS ( FILTER(SUMMARIZE(Table,Table[CustomerName], "Customer Total", [Customer Tolal]),[Customer Total] > 0 ))
Regards
Miguel Félix
Proud to be a Super User!
Check out my blog: Power BI em PortuguêsCheck 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 |
|---|---|
| 58 | |
| 45 | |
| 40 | |
| 21 | |
| 18 |