cancel
Showing results 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.

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.

1 ACCEPTED SOLUTION
Community Support

Hi @Anonymous ,

``````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] )``

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

Community Support

Hi @Anonymous ,

``````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] )``

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

Announcements

#### 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

#### Power BI Monthly Update - April 2024

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

#### Fabric Community Update - April 2024

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

Top Solution Authors
Top Kudoed Authors