Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.
Register now!Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now
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 | HC | Working Days |
| Brazil | 139 | 22,0 |
| USA | 12 | 19,0 |
| Total | 151 | 21,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!
Solved! Go to Solution.
Can someone please help me?
More or less the first google result, but anyway...
Thanks anyway!
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)
Check out the November 2025 Power BI update to learn about new features.
Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!