Advance your Data & AI career with 50 days of live learning, dataviz contests, hands-on challenges, study groups & certifications and more!
Get registeredJoin 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.
Hello World,
I have two pics here. One in excel (blue color) and anothetr in Power Bi. I have created a matrix in Power Bi with age category and transactions.
Now I want to calculate the sucess rate . The formula that I used in Excel is : Sum(Total Transactions/Total Past Dues 1-30 Days)*100%) . Same with the remaining 3 . How do i do same in power bi?
Please help
Solved! Go to Solution.
Hi @Anonymous ,
I think you can try code as below to create a measure.
Payment success Rate =
VAR _Total =
SUMX ( ALLSELECTED ( 'Table' ), 'Table'[Transactions] )
VAR _Transactions =
CALCULATE ( SUM ( 'Table'[Transactions] ) )
RETURN
DIVIDE ( _Transactions, _Total )
My Sample:
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Hi @Anonymous ,
I think you can try code as below to create a measure.
Payment success Rate =
VAR _Total =
SUMX ( ALLSELECTED ( 'Table' ), 'Table'[Transactions] )
VAR _Transactions =
CALCULATE ( SUM ( 'Table'[Transactions] ) )
RETURN
DIVIDE ( _Transactions, _Total )
My Sample:
Result is as below.
Best Regards,
Rico Zhou
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
var Total_transaction = sum(Transaction) return
rate = ( Transaction / Total_transaction ) * 100
return rate
I hope that help you, good luck 🙂
Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!
Check out the October 2025 Power BI update to learn about new features.
| User | Count |
|---|---|
| 8 | |
| 6 | |
| 3 | |
| 3 | |
| 3 |
| User | Count |
|---|---|
| 11 | |
| 9 | |
| 8 | |
| 7 | |
| 7 |