Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

View all the Fabric Data Days sessions on demand. View schedule

Reply
Anonymous
Not applicable

Commission Based Sales Calculations for Different Categories

I am trying to calculate the sales amount for different rep's and different subcategories within those reps. The issue I am having is there are different tiers within each subcategory for a min/max  (upper/lower tier amount) that have a unique commission amount. I currently have the sales table with all of the sale amounts and their respective rep and subcategory. I then have another table with the CommsBuckets (Rep, subcategory, upper amt, lower amt, tier (1,2,3, etc), and the commission. How do I calculate the sales amount for each tier within each subcategory and carryover any sale amount exceeding the upper bound into the next tier?

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous , Create meausres like these

 


Measure = sum(Table[sales amount])

 

Measure with bucket = sumx(filter( values(Table[sales rep]), [Measure] >= Min(subcategory[lower tier amount]) && [Measure] <= Max(subcategory[upper tier amount])), [Measure])

 

use the second measure with subcategory table

 

very similar to what I have done here

Dynamic Segmentation Bucketing Binning
https://community.powerbi.com/t5/Quick-Measures-Gallery/Dynamic-Segmentation-Bucketing-Binning/m-p/1387187#M626


Dynamic Segmentation, Bucketing or Binning: https://youtu.be/CuczXPj0N-k

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.