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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

Reply
ZsoltK
New Member

Summing conditonal result

Hi All,

I have got an issue with summing the conditional output

We got bonus calculated for different people for a certain month and same time we got the max 100 EUR to pay out.

The calculated bonus is summing up right, but when I use the IF function to get the bonus to pay out it works for individuals, but in total it is not summing up.

Cam you pls help me to fix this?

Thanks 

ZsoltK_1-1682669991783.png

 

ZsoltK_0-1682669789164.png

 

 

2 REPLIES 2
ZsoltK
New Member

Thanks for the hint, it was leading to the solution using SUMX, VALUE, IF functions combined. Thanks

amitchandak
Super User
Super User

@ZsoltK , you have used some row context in the calculation then try a measure like

 

Sumx(Values(Table[Driver]), [Bonus Final Pkg])

 

refer -why grand total is wrong -https://www.youtube.com/watch?v=ufHOOLdi_jk

Helpful resources

Announcements
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.