Forum Discussion
Customize matrix subtotals
Hi there!
I'm currently struggling with a report that should calculate the bonuses for our Salesteam. This bonus consists of 3 items (Bonus UNI, Bonus UNF & Bonus PA). These 3 items are summed, which gives us the 'Bonus Total' (i.e. Bonus Algemeen Totaal (voor eval.) - see printscreen). Then our Sales manager decides to multiply the 'Bonus Total' by x0,9, x1 or x1,1 (depending on the fact if my colleagues did a good job or not during that week).
This gives us the 'Final Bonus Total' (i.e. Bonus Algemeen Totaal (na eval.) - see printscreen.
Unfortunately, I'm having some trouble to summarize the 'Final Bonus Total' per week (= sum of 'Final Bonus Total' for all colleagues).
1. Desired result:
2. Datamodel.
See printscreen.
3. What I have done so far:
I made the following measures:
- Bonus UNI Total
- Bonus UNF Total
- Bonus PA Total
- Bonus ALGEMEEN TOTAAL (voor eval.), which is the sum of the 3 measures above:
IF (
ISINSCOPE ( 'TUSSENTABEL COLLEGA''s'[Naam collega] ),
CALCULATE ( AVERAGE ( BONUSE[Multiplicator evaluatie] ) ),
0
)
Hi Anonymous ,
Try to create another measure like so:
Bonus ALGEMEEN TOTAAL (na eval.) 2 = SUMX ( VALUES ( 'TUSSENTABEL COLLEGA''s'[Naam collega] ), [Bonus ALGEMEEN TOTAAL (na eval.)] )Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
1 Reply
- IceyCommunity Support
Hi Anonymous ,
Try to create another measure like so:
Bonus ALGEMEEN TOTAAL (na eval.) 2 = SUMX ( VALUES ( 'TUSSENTABEL COLLEGA''s'[Naam collega] ), [Bonus ALGEMEEN TOTAAL (na eval.)] )Best Regards,
Icey
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.