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
arobinson
Frequent Visitor

IF Statement

I am working on a commission sheet for my team. 

 

Criteria for this commission is if Gross Margin is greater than 25% and over all HCP count is greater than 8 the Tier commission is 20%. At the same time, if the same gross margin is expected but more than 25 HCPs the tier commission should be 25% for that line. 

 

I have included a photo below to help. 

 

arobinson_0-1632243564632.png

 

1 REPLY 1
Anonymous
Not applicable

Hello,

 

try:

 

Commission = SWITCH(

TRUE(),

[Gross Margin] > 0.25 && [HCP Count] > 25, 0.25,
[Gross Margin] > 0.25 && [HCP Count] > 8, 0.2,

BLANK()

)

 

 

If this solved your problem, please mark it as the solution, so others can find it 🙂

 

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.