This is best Fabric, Power BI, SQL and AI community event. How do we know? The last event sold out! Save €200 with code FABCMTY200.
Register nowA new Data Days event is coming soon! This time we’re going bigger than ever. Fabric, Power BI, SQL, AI and more. Don't miss out.
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!
Check out the May 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 |
|---|---|
| 29 | |
| 28 | |
| 25 | |
| 19 | |
| 14 |
| User | Count |
|---|---|
| 56 | |
| 48 | |
| 37 | |
| 21 | |
| 20 |