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

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.

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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors