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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Anonymous
Not applicable

weighted average

Hello guys, 

 

My question is preety straight forward, but I can't get this done. 

 

I want to calculate an weighted average on a table with number of days as below:

 

 Country HCWorking Days
Brazil13922,0
USA1219,0
Total15121,76

 

So basically I would need to average the number of days worked in a month for USA and Brazil having the Headcount as a paramenter, the results should be as the one in the table. 

 

Thanks!

1 ACCEPTED SOLUTION

More or less the first google result, but anyway...

 

weightaverage.PNG

View solution in original post

4 REPLIES 4
Anonymous
Not applicable

Can someone please help me?

More or less the first google result, but anyway...

 

weightaverage.PNG

Anonymous
Not applicable

Thanks anyway!

Anonymous
Not applicable

To make it easier to understand, the mathematical formula would be ((Working days Brazil * HC Brazil)+(Working days USA * HC USA)) / (HC Brazil + HC USA)

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

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.