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

Grow your Fabric skills and prepare for the DP-600 certification exam by completing the latest Microsoft Fabric 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
Europe Fabric Conference

Europe’s largest Microsoft Fabric Community Conference

Join the community in Stockholm for expert Microsoft Fabric learning including a very exciting keynote from Arun Ulag, Corporate Vice President, Azure Data.

RTI Forums Carousel3

New forum boards available in Real-Time Intelligence.

Ask questions in Eventhouse and KQL, Eventstream, and Reflex.

MayPowerBICarousel1

Power BI Monthly Update - May 2024

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