Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.
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êsUser | Count |
---|---|
92 | |
85 | |
77 | |
66 | |
62 |
User | Count |
---|---|
110 | |
95 | |
95 | |
64 | |
59 |