This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. We're covering it all. You won't want to miss it.
Learn moreDid you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now
Helloo ,
I have this table below, where the 3 columns are measures
| Name | #workingdays | SumHrsMorningDelay | SumHrsEarlyLeave |
| Emp1 | 10 | 22 | 5 |
| Emp2 | 20 | 2 | 10 |
| Emp3 | 10 | ||
| Total | 40 | 24 | 15 |
I want to calculate AVG Morning Delay and Avg Early Leave
| Name | #workingdays | SumHrsMorningDelay | SumHrsEarlyLeave | AVGMorningDelay | AVGEarlyLeave |
| Emp1 | 10 | 22 | 5 | =22/10 | =5/10 |
| Emp2 | 20 | 2 | 15 | =2/20 | =15/20 |
| Emp3 | 10 | ||||
| Total | 40 | 24 | 15 | =24/3Employees | 15/3employees |
I wrote this measure, its fine for row level , but the grand level is wrong
Try Like
Avg Delay = DIVIDE([MorningDelay],[#TotalWorkingDays],0)
Over All Avg Delay = averagex (values(Employee[name]),[Avg Delay])
Appreciate your Kudos. In case, this is the solution you are looking for, mark it as the Solution. In case it does not help, please provide additional information and mark me with @
Thanks.
My Recent Blog - https://community.powerbi.com/t5/Community-Blog/Comparing-Data-Across-Date-Ranges/ba-p/823601
Check out the April 2026 Power BI update to learn about new features.
Sign up to receive a private message when registration opens and key events begin.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
| User | Count |
|---|---|
| 34 | |
| 31 | |
| 30 | |
| 21 | |
| 16 |
| User | Count |
|---|---|
| 62 | |
| 51 | |
| 31 | |
| 23 | |
| 23 |