How to Calculate Sales Bonus in PowerPivot?

mrxlsx

Board Regular
Joined
Dec 15, 2012
Messages
95
Hi all,

Good morning,

I have 3 tables namely fSa*****ok, dSalesman, dEmoluments.

1. fSa*****ok is l inked with dSalesman thru Salesm anKey column in the data model.

2. fSa*****ok is having a column namely SalesPoints for each Sales transaction.

3. dSalesman table is having SalesmanKey and their details like gender, age, ethnicity, education details.

4. dEmoluments is having the following columns.

dEmoluments:

YearlyTargetPointsBonus
20005000
40006000
60008000
800010000
1000014000

<tbody>
</tbody>


Now the question is, I want calculate the the YearlyBonus in the fSa*****ok respective to their SalesTargetPoints.


What should be my formula in PowerPivot?

Thank you
mrxlsx
 

Excel Facts

When they said...
When they said you are going to "Excel at life", they meant you "will be doing Excel your whole life".
It will be something like:

=CALCULATE(MAX(dEmoluments[Bonus]), FILTER(dEmoluments, dEmoluments[YearlyTargetPoints] >=[Sales Total]))
 
Upvote 0
Scottsen,

It is throwing up 14000 Bonus for all the records in the fSa*****ok. I think first we need to calculate the Yearly Sales Points achieved for each Salesman then compare the same with YearlyTargetPoints, right?

mrxlsx
 
Upvote 0
Ya, you would probably want to wrap the suggested measures in a SUMX across Years.
 
Upvote 0

Forum statistics

Threads
1,216,102
Messages
6,128,852
Members
449,471
Latest member
lachbee

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top