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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
ADSL
Post Prodigy
Post Prodigy

Calculate Sales Incentive by Client

Dear BI Expert,

 

Currently I am calcualted monthly sales incentive payout in excel. There are 02 KPIs for sales rep and 03 slabs as per attachment file.

1. Sales Achievement by Client (It's based on Weight for these clients)

2. Total Sales Achievement

https://drive.google.com/drive/folders/1h4G65DGngL5oYU6JadAA8PbdyowuaxSn?usp=sharing 

As per attachment file, Could we transform it from excel to power BI? Or get the total payout result in power BI?

 

Please kindly check and advise.

 

Best Regards,

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @ADSL ,

I created a sample pbix file(see attachment) for you, please check whether that is what you want.

1. Besides the excel file, assume that you have the below two tables(include target and contribution info)

yingyinr_0-1662704814852.png

2. Create some measures as below:

Sales = SUM('Data'[Amount No VAT])
% Actual vs Target = 
VAR _selsupplier =
    SELECTEDVALUE ( 'Target'[Supplier Name] )
VAR _target =
    CALCULATE ( SUM ( 'Target'[Target] ), 'Target'[Supplier Name] = _selsupplier )
RETURN
    DIVIDE ( [Sales], _target )
Points Scored = SUM ( 'Target'[Weight] ) * [% Actual vs Target]
Payout (USD) = 
VAR _selsuplier =
    SELECTEDVALUE ( 'Target'[Supplier Name] )
VAR _usd =
    SWITCH (
        TRUE (),
        [% Actual vs Target] >= 0.9
            && [% Actual vs Target] < 0.9499, 45,
        [% Actual vs Target] >= 0.95
            && [% Actual vs Target] < 0.9999, 75,
        [% Actual vs Target] >= 1, 90
    )
VAR _contribution =
    CALCULATE (
        MAX ( 'Contribution'[Contribution%] ),
        'Contribution'[Supplier Name] = _selsuplier
    )
RETURN
    _usd * _contribution

yingyinr_1-1662704926510.png

If the above one can't help you get the desired result, please provide more details(special examples, correct result etc.) on your requirement. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

View solution in original post

1 REPLY 1
Anonymous
Not applicable

Hi @ADSL ,

I created a sample pbix file(see attachment) for you, please check whether that is what you want.

1. Besides the excel file, assume that you have the below two tables(include target and contribution info)

yingyinr_0-1662704814852.png

2. Create some measures as below:

Sales = SUM('Data'[Amount No VAT])
% Actual vs Target = 
VAR _selsupplier =
    SELECTEDVALUE ( 'Target'[Supplier Name] )
VAR _target =
    CALCULATE ( SUM ( 'Target'[Target] ), 'Target'[Supplier Name] = _selsupplier )
RETURN
    DIVIDE ( [Sales], _target )
Points Scored = SUM ( 'Target'[Weight] ) * [% Actual vs Target]
Payout (USD) = 
VAR _selsuplier =
    SELECTEDVALUE ( 'Target'[Supplier Name] )
VAR _usd =
    SWITCH (
        TRUE (),
        [% Actual vs Target] >= 0.9
            && [% Actual vs Target] < 0.9499, 45,
        [% Actual vs Target] >= 0.95
            && [% Actual vs Target] < 0.9999, 75,
        [% Actual vs Target] >= 1, 90
    )
VAR _contribution =
    CALCULATE (
        MAX ( 'Contribution'[Contribution%] ),
        'Contribution'[Supplier Name] = _selsuplier
    )
RETURN
    _usd * _contribution

yingyinr_1-1662704926510.png

If the above one can't help you get the desired result, please provide more details(special examples, correct result etc.) on your requirement. It is better if you can share a simplified pbix file. You can refer the following link to upload the file to the community. Thank you.

How to upload PBI in Community

Best Regards

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.