Forum Discussion
Commission Tiers Summing?
Hello all, I have a system of Commission Tiers across 2 different 'roles'. I cannot get to add totals for. Each tier has a different commission percentage, each of these tier totals need to add together. That's the part I'm having trouble with. I have a separate tier table:
| Role | Spread Tier | Spread Tier Sort | StartAmount | EndAmount | Commission% | EffectiveStartDate | EffectiveEndDate |
| AE | $0.00 - $6,000 | 1 | 0 | 6000 | 0 | 1/1/1900 | 1/1/3000 |
| AE | $6,001 - $11,000 | 2 | 6001 | 11000 | .1 | 1/1/1900 | 1/1/3000 |
| AE | $11,001 - $15,000 | 3 | 11001 | 15000 | .15 | 1/1/1900 | 1/1/3000 |
| AE | $15,001+ | 4 | 15001 | 1000000 | .2 | 1/1/1900 | 1/1/3000 |
| RECRUITER | $0.00 - $5,000 | 5 | 0 | 5000 | .02 | 1/1/1900 | 1/1/3000 |
| RECRUITER | $5,001 - $7,500 | 6 | 5001 | 7500 | .04 | 1/1/1900 | 1/1/3000 |
| RECRUITER | $7,501 - $11,000 | 7 | 7501 | 11000 | .08 | 1/1/1900 | 1/1/3000 |
| RECRUITER | $11,001+ | 8 | 11001 | 1000000 | .12 | 1/1/1900 | 1/1/3000 |
The desired result would add the 4 commission columns filtered to RECRUITER in this case into a Total Commission Value:
Here's the DAX I am using to get Accumilated Spread and Commission:
3 Replies
- lbendlin
Super User
Please provide sample data for [Weekly Spread]
- TuesdayApril
Helper I
lbendlin Here you go, sorry for delay. Thanks for the help!
TimeSheetEntry State TimeSheetEntry Type TimeSheerEntryHours CostRate BillingRate BurdenPercent TimesheetSpread Approved Regular 40 60 111 .2 1560 Approved Overtime 23 32 48 .28 633.75 - TuesdayApril
Helper I
lbendlin This is the adjustment table. Adjustment amount and Timesheet spread are added together to get Accumilated Spread, then compared on the tier table above. I feel like I left out a sumx somewhere.
AdjustmentTupe PayPeriodEnddateKey Recruiter Employeekey Contractor Employkey AdjustmentAmount SpreadWeek Credited Fee PERM 2/11/2023 4645 12345 923.078 2 24000