cancel
Showing results for
Did you mean:

## Calculate percentage based on achievements vs ranges and apply different percentage for each range

Hello.

I have the following scenario:

Salespeople get a certain sales bonus, for example:

Between 1-1000\$ Sales value -> 10% Bonus.

Between 1001\$ - 10000 \$ Sales value -> 5% Bonus.

I need to calculate the bonus amount for each case. But for example if I have 1500\$ it should keep into consideration both percentages (1000\$ * 10% + 500\$ * 5%).

I have never used Power BI to achieve this type of calculus before.

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support

Kindly let me know if you'd like to get below results:

Bonus = var a = MAX('Table'[Value]) Return IF(a<=1000,a*0.01,IF(a>1000,(a-1000)*0.005+1000*0.01))

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.
Community Support

Kindly let me know if you'd like to get below results:

Bonus = var a = MAX('Table'[Value]) Return IF(a<=1000,a*0.01,IF(a>1000,(a-1000)*0.005+1000*0.01))

Community Support Team _ Dina Ye
If this post helps, then please consider Accept it as the solution to help the other members find it more
quickly.

Announcements

#### Power Platform Community Conference

Check out the on demand sessions that are available now!

#### Power Platform October Community Highlights

Check out the top community contributors across all of the communities

#### Create an end-to-end data and analytics solution

Learn how Power BI works with the latest Azure data and analytics innovations at the digital event with Microsoft CEO Satya Nadella.

Top Solution Authors
Top Kudoed Authors