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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
Anonymous
Not applicable

Incentive Calculation for brands

Hi

 

I am calculating incentive for sales executive and their brands where each brand has some points. Based on these points, the executive will be eligible for a certain slab. The brands are A,B,C,D,E,F where A and C are major brands and B,D,E and F are external brands. If this excecutive achieves >80% in B,D,E and F but not in A and C, he will be eligible for A and C points. 

 

Below example shows the ach%, score 2 is the points fixed for this month and criteria is a formula i put if >80% or else 0. Now here is where I am stuck, the formula to add in A(Farm Fresh) and C(Klassic) brand points even if his other brands are 0. 

 

Amri25_0-1659375496265.png

@amitchandak @Greg_Deckler @tamerj1 

 

 

1 ACCEPTED SOLUTION
v-cgao-msft
Community Support
Community Support

Hi @Anonymous ,

 

Please create two new measures:

Measure = 
SWITCH (
    TRUE (),
    MAX ( 'Table'[Brands] ) IN { "A", "B" }, MAX ( 'Table'[Score 2] ),
    [Arc%] >= 0.8, MAX ( 'Table'[Score 2] ),
    0
)
Criteria = SUMX ( 'Table', [Measure] )

vcgaomsft_0-1659604580561.png

The PBIX file is attached for reference.

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

View solution in original post

1 REPLY 1
v-cgao-msft
Community Support
Community Support

Hi @Anonymous ,

 

Please create two new measures:

Measure = 
SWITCH (
    TRUE (),
    MAX ( 'Table'[Brands] ) IN { "A", "B" }, MAX ( 'Table'[Score 2] ),
    [Arc%] >= 0.8, MAX ( 'Table'[Score 2] ),
    0
)
Criteria = SUMX ( 'Table', [Measure] )

vcgaomsft_0-1659604580561.png

The PBIX file is attached for reference.

 

Best Regards,
Gao

Community Support Team

 

If there is any post helps, then please consider Accept it as the solution to help the other members find it more quickly. If I misunderstand your needs or you still have problems on it, please feel free to let us know. Thanks a lot!

How to get your questions answered quickly -- How to provide sample data

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.