Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
For our company's sales reps, we pay a commission based on the number of new accounts and average balance of those new accounts at a client level, not an overall level. Below is what I put together for one of our reps:
For example, client# 164 placed 49 accounts with an average balance over $50k. This results in a $500 commission for the sales rep for this client. This is repeated for each of the clients assigned to the rep. The measure for the Commission (Sign) column is:
The issue I'm running into is that it applies the measure to the total as well instead of summing the individual clients. If you add up each individual client's commission, you would get $3,000, but the logic applies to the overall total of the two preceeding columns, giving the overall commission $3,750.
I'm looking for one of two options:
Thanks!
Solved! Go to Solution.
@wildvike
You can wriap the measure in a SUMX to get the total to do what you want.
SUMX(Values('Table'[Client #]), [Commission (Sign))])
Respectfully,
Zoe Douglas (DataZoe)
Follow me on LinkedIn at https://www.linkedin.com/in/zoedouglas-data
See my reports and blog at https://www.datazoepowerbi.com/
@wildvike
You can wriap the measure in a SUMX to get the total to do what you want.
SUMX(Values('Table'[Client #]), [Commission (Sign))])
Respectfully,
Zoe Douglas (DataZoe)
Follow me on LinkedIn at https://www.linkedin.com/in/zoedouglas-data
See my reports and blog at https://www.datazoepowerbi.com/
Thanks, that worked for me!
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 42 | |
| 37 | |
| 35 | |
| 22 | |
| 15 |
| User | Count |
|---|---|
| 67 | |
| 58 | |
| 29 | |
| 27 | |
| 25 |