Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.
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.
Can you please help me?
Solved! Go to Solution.
Hi @adriansuteu
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))
Hi @adriansuteu
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))
Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City
Check out the April 2024 Power BI update to learn about new features.
User | Count |
---|---|
110 | |
95 | |
76 | |
65 | |
51 |
User | Count |
---|---|
146 | |
109 | |
106 | |
88 | |
61 |