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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

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

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

Check out the November 2025 Power BI update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors