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
Hello, I would like to count the winrate % for each player. I have a table with 2 columns [player] and [won]. The player column is text and won is TRUE/FALSE.
Solved! Go to Solution.
WinRate =
VAR total = COUNTROWS('YourTable')
VAR won = CALCULATE(
COUNTROWS('YourTable'),
YourTable[won] = TRUE()
)
RETURN DIVIDE(won, total)
WinRate =
VAR total = COUNTROWS('YourTable')
VAR won = CALCULATE(
COUNTROWS('YourTable'),
YourTable[won] = TRUE()
)
RETURN DIVIDE(won, total)
Thank you very much!
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 |
|---|---|
| 20 | |
| 11 | |
| 9 | |
| 4 | |
| 4 |
| User | Count |
|---|---|
| 31 | |
| 29 | |
| 21 | |
| 12 | |
| 12 |