Don't miss your chance to take the Fabric Data Engineer (DP-600) exam for FREE! Find out how by watching the DP-600 session on-demand now through April 28th.
Learn moreJoin the FabCon + SQLCon recap series. Up next: Power BI, Real-Time Intelligence, IQ and AI, and Data Factory take center stage. All sessions are available on-demand after the live show. Register now
Hi
Hoping someone can help.
I have the following table:
Project ID | Project Lead | Supporting Lead |
Project 1 | Staff 1 | Staff 3 |
Project 2 | Staff 3 |
|
Project 3 | Staff 1 | Staff 4 |
Project 4 | Staff 2 | Staff 3 |
Project 5 | Staff 4 |
|
which I am hoping to put in a visual table that looks like this, which returns the number of changes each staff is Leading and Supporting
Staff ID | Number of Projects Led | Number of Projects Supporting |
Staff 1 | 2 |
|
Staff 2 | 1 |
|
Staff 3 | 1 | 2 |
Staff 4 | 1 | 1 |
However, this is what I am getting - the 'Number of Project Led' column is returning the correct result; however, the 'Number of Projects Supporting' is returning the incorrect result. It's counting the number of each staff's project which is being supporting by another staff, not the number of projects that they are supporting.
| Number of Projects Led | Number of Projects Supported |
Staff 1 | 2 | 2 |
Staff 2 | 1 | 1 |
Staff 3 | 1 |
|
Staff 4 | 1 | 1 |
So Staff one is leading 2 projects and is not supporting any projects. I'm expecting 2 and 0 for Staff 1
However, I am getting 2 and 2.
'Staff N' pulls the staff's names and email address from a dimension table.
Any help on why power BI is pulling/calculting the wrong figures and how i can rectify this?
Solved! Go to Solution.
You need to unpivot your data in order for your staff column to be unique (or a single one at least).
I'm attaching you the file I reproduced with your data. I hope it helps 🙂
Proud to be a Super User!
You need to unpivot your data in order for your staff column to be unique (or a single one at least).
I'm attaching you the file I reproduced with your data. I hope it helps 🙂
Proud to be a Super User!
Thank you very much. I'm a newbie to power bi so will give this a go!
Check out the April 2026 Power BI update to learn about new features.
If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.
A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.
| User | Count |
|---|---|
| 44 | |
| 38 | |
| 34 | |
| 20 | |
| 16 |
| User | Count |
|---|---|
| 66 | |
| 65 | |
| 30 | |
| 26 | |
| 25 |