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
bilalkhokar73
Helper IV
Helper IV

Lookup On Commission basis criteria

I have one column that is achived %
I have one criteria table  where crietrai is there that
0-10 % =200Dollar commission
10-50%=300 dollar commission
50-80% =400 Dollar Commsiion

I want that if achived % is 60 in achived % column then it shwould look up and give me 400 dollar in new column 
If acihved % is 30 % then it shoudl give me 300 Dollar

If achived % is minus then need 0 liek that 

@amitchandak 

1 ACCEPTED SOLUTION
DataVitalizer
Solution Sage
Solution Sage

Hi @bilalkhokar73 
I have for you two solutions:

 

1. I suggest that you create a new caclculaed column in the table with values using the following code

 

SWITCH(TRUE(),
AND('Table'[Colonne 1]>0,'Table'[Colonne 1]<=0.1),"A",
AND('Table'[Colonne 1]>0.1,'Table'[Colonne 1]<=0.5),"B",
AND('Table'[Colonne 1]>0.5,'Table'[Colonne 1]<=0.8),"C",
"D")
 
For the returned values (A, B, C and D) you can replace them by the commision 
 
2. Otherwise you can use the fomula in language M context through Power Query then merge your fact table with the commision
 

Did it work ? Mark it as a solution to help spreading knowledge.

A kudos would be appreciated

 

View solution in original post

2 REPLIES 2
DataVitalizer
Solution Sage
Solution Sage

Hi @bilalkhokar73 
I have for you two solutions:

 

1. I suggest that you create a new caclculaed column in the table with values using the following code

 

SWITCH(TRUE(),
AND('Table'[Colonne 1]>0,'Table'[Colonne 1]<=0.1),"A",
AND('Table'[Colonne 1]>0.1,'Table'[Colonne 1]<=0.5),"B",
AND('Table'[Colonne 1]>0.5,'Table'[Colonne 1]<=0.8),"C",
"D")
 
For the returned values (A, B, C and D) you can replace them by the commision 
 
2. Otherwise you can use the fomula in language M context through Power Query then merge your fact table with the commision
 

Did it work ? Mark it as a solution to help spreading knowledge.

A kudos would be appreciated

 
bilalkhokar73
Helper IV
Helper IV

@Fowmy 

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.