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

Earn a 50% discount on the DP-600 certification exam by completing the Fabric 30 Days to Learn It challenge.

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
LearnSurvey

Fabric certifications survey

Certification feedback opportunity for the community.

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.