Get certified for free when you join Fabric Data Days 2026 and dive into Fabric, Power BI, SQL, AI, and other essential data skills.
Join nowData Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more
I have this table:
| Proj | Emp | Dept | Yr and Mo | Alloc Pct |
| P1 | Adam West | HR | January 2024 | 10% |
| P1 | Adam West | HR | February 2024 | 10% |
| P1 | John Doe | Sales | January 2024 | 20% |
| P1 | John Doe | Sales | February 2024 | 30% |
| P1 | Kelly Shaw | HR | February 2024 | 50% |
| P2 | Kelly Shaw | HR | March 2024 | 30% |
| P2 | Kelly Shaw | HR | April 2024 | 40% |
One Dept can have more than one Emp. I tried to calculate the average allocation with:
Calculate(average(Alloc Pct), allexcept(table, table(Proj), table(Emp)).
I need to create a table visual that summarizes the allocation averages by Dept, something like this:
| Dept | Emp Count | Proj Count | Alloc |
| HR | 2 | 2 | 95% |
| Sales | 1 | 1 | 25% |
HR has 60% = Adam, 10% avg; Kelly, 50% avg + 35% avg
Sales has 25% = John, 25% avg.
Any help will be appreciated.
you can try to create a new column
alloc = CALCULATE(AVERAGE('Table'[Alloc Pct]),ALLEXCEPT('Table','Table'[Proj],'Table'[Emp],'Table'[Dept]))/CALCULATE(COUNT('Table'[Alloc Pct]),ALLEXCEPT('Table','Table'[Proj],'Table'[Emp],'Table'[Dept]))
then you can display the table visual directly.
pls see the attachment below
Proud to be a Super User!
You want to calculate the average by emp and Dep and after sum this value by dep?
HR has 60% = Adam, 10% avg + Kelly, 50% avg !?
Proud to be a Super User!
I want to average by emp and proj, then sum this value by dept.
Try this measure:
The output will be:
Proud to be a Super User!
Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.
Check out the May 2026 Power BI update to learn about new features.
| User | Count |
|---|---|
| 23 | |
| 23 | |
| 21 | |
| 17 | |
| 13 |
| User | Count |
|---|---|
| 58 | |
| 51 | |
| 39 | |
| 29 | |
| 24 |