My data looks like this.
I tried with below DAX but I am getting an error:
Distinct Users = CALCULATE(DISTINCTCOUNT(MyList[User]),SUM(MyList[Balance]) > 0)
Error message: A function 'SUM' has been used in a True/False expression that is used as a table filter expression. This is not allowed.