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!The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more
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
The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!
| User | Count |
|---|---|
| 39 | |
| 35 | |
| 33 | |
| 32 | |
| 27 |
| User | Count |
|---|---|
| 136 | |
| 96 | |
| 77 | |
| 67 | |
| 65 |