This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreLevel up your Power BI skills this month - build one visual each week and tell better stories with data! Get started
Hi all....
I have a requirement where i have to show count of clients grouped by commission buckets.
But as per below screenshots there is only 1 client but he is falling under different buckets hence showing client count as 3. but it should be 1. how do i do that?
formula for commission_buckets
# clients
Solved! Go to Solution.
Hi @jostnachs
Apply your conditional column to the total estimated compensasion by client and not to the individual commission rows.
Commission_Bucket =
VAR ClientCommission =
CALCULATE (
SUM ( V_DimPolicy[EstimatedCommission] ),
ALLEXCEPT ( V_DimPolicy, V_DimPolicy[ClientID] )
)
RETURN
SWITCH (
TRUE (),
ClientCommission >= 0
&& ClientCommission <= 5000, "<5K",
ClientCommission > 5000
&& ClientCommission <= 10000, "5K-10K",
ClientCommission > 10000
&& ClientCommission <= 30000, "10K-30K",
ClientCommission > 30000
&& ClientCommission <= 50000, "30K-50K",
ClientCommission > 50000
&& ClientCommission <= 100000, "50-100K",
ClientCommission > 100000, "100K+",
ISBLANK ( ClientCommission ), "Blank",
"Out of Range" -- Optional to catch any edge cases
)
Hi @jostnachs
Apply your conditional column to the total estimated compensasion by client and not to the individual commission rows.
Commission_Bucket =
VAR ClientCommission =
CALCULATE (
SUM ( V_DimPolicy[EstimatedCommission] ),
ALLEXCEPT ( V_DimPolicy, V_DimPolicy[ClientID] )
)
RETURN
SWITCH (
TRUE (),
ClientCommission >= 0
&& ClientCommission <= 5000, "<5K",
ClientCommission > 5000
&& ClientCommission <= 10000, "5K-10K",
ClientCommission > 10000
&& ClientCommission <= 30000, "10K-30K",
ClientCommission > 30000
&& ClientCommission <= 50000, "30K-50K",
ClientCommission > 50000
&& ClientCommission <= 100000, "50-100K",
ClientCommission > 100000, "100K+",
ISBLANK ( ClientCommission ), "Blank",
"Out of Range" -- Optional to catch any edge cases
)
Hi @jostnachs
Please provide sample data that covers your issue or question completely, in a usable format (not as a screenshot).
https://community.powerbi.com/t5/Community-Blog/How-to-provide-sample-data-in-the-Power-BI-Forum/ba-...
Please show the expected outcome based on the sample data you provided.
https://community.powerbi.com/t5/Desktop/How-to-Get-Your-Question-Answered-Quickly/m-p/1447523
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 30 | |
| 24 | |
| 23 | |
| 17 | |
| 16 |
| User | Count |
|---|---|
| 61 | |
| 35 | |
| 30 | |
| 23 | |
| 22 |