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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

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
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.