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
Anonymous
Not applicable

Weighted Average - Wrong Total

Hello everybody,

 

my problem is quite simple, but I've been struggling with it for the past few days looking for solutions and tutorials :

 

Basically, I have a Mob Value (hours) which is a number of hours.
I have an average staff rate which is a rate.

Then I have a Mob Value (euros) which is

Mob Value (euros) = SUM(MOB[Mob Value (hours)])* [averagestraffrate Last 6 month]

 

Values for each lines are OK

 

My problem is with the result of Mob Values (Euros) Total,

The Total is also aplying this formula : (MOB values (hours) TOTAL * Average staff rate TOTAL)

It is not doing the sum of each Mob Value (euros).

 

This is wrong because the average staff rate TOTAL should be weighted based on the number of HOURS.

The sum of each mob value (Euros) line is different than the TOTAL.

 

You can see an example below, if I sum each mob value (euros) (not visible on this pictures) I get 21 000 000 instead of 24 000 000.

 

J_MOLS_1-1612868582794.png

 

I don't really see how I could weight the average rate total ? Because each indivuals values are correct.

 

I'm sorry I can't really provide a sample of the file.

 

Do you understand my problem and hint me to a solution ?

 

Thanks,

Regards

J Mols

 

 

1 REPLY 1
amitchandak
Super User
Super User

@Anonymous ,Can you share sample data and sample output in table format? Or a sample pbix after removing sensitive data.

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.