Join us for an expert-led overview of the tools and concepts you'll need to pass exam PL-300. The first session starts on June 11th. See you there!
Get registeredPower BI is turning 10! Let’s celebrate together with dataviz contests, interactive sessions, and giveaways. Register now.
Dear Forum,
Since a couple of days, I am dealing with an issue of relation table.
I have 5 tables:
- Calendar
- Project information
- Load of the projects
- Capacity of the project manager
- Project manager table
I need to analyze the load/capacity of the project manager sort by priority.
My issue in the summary tab I see also the project of Pierre but he hasn’t any project in priority 2.
Many thanks for your help
N.
Solved! Go to Solution.
Hi @nbaudry
As tested, i make some transformations in your model.
( You could downlaod my pbix file, in Edit queries, open Advanced editor, you can see the M code and paste it in your file,
Or you can click on each step and find details for steps )
Steps below:
In Edit queries:
1. in "capacity" table,
1.1 merge queries from "project" table based on column "Name" (Capacity table), column "Project manager" ("project" table),
when expanding, only select "id" to show on the "capacity" table.
1.2 select "Name", "date", "Project.ID", merge columns, then we get a new column "name-date-id-capacity".
2. in "load" table, select "Project Manager", "date", "Project ID", merge columns, then we get a new column "name-date-id-load".
3. merge new queries from "capacity" table and "load" table, based on "name-date-id-capacity" and "name-date-id-load",
select "full outer" for "Join kind", when expanding, only select "Load (days)" to show on this new table.
4. right click on the "capacity" table and "load" table, uncheck "enable load",
in this case, the two tables won't show on the "Data Model" view, so to save the data size and improve performance for reports.
Cloase&&apply.
In Relationship view.
Finally,
Hi @nbaudry
Hi @nbaudry
As tested, i make some transformations in your model.
( You could downlaod my pbix file, in Edit queries, open Advanced editor, you can see the M code and paste it in your file,
Or you can click on each step and find details for steps )
Steps below:
In Edit queries:
1. in "capacity" table,
1.1 merge queries from "project" table based on column "Name" (Capacity table), column "Project manager" ("project" table),
when expanding, only select "id" to show on the "capacity" table.
1.2 select "Name", "date", "Project.ID", merge columns, then we get a new column "name-date-id-capacity".
2. in "load" table, select "Project Manager", "date", "Project ID", merge columns, then we get a new column "name-date-id-load".
3. merge new queries from "capacity" table and "load" table, based on "name-date-id-capacity" and "name-date-id-load",
select "full outer" for "Join kind", when expanding, only select "Load (days)" to show on this new table.
4. right click on the "capacity" table and "load" table, uncheck "enable load",
in this case, the two tables won't show on the "Data Model" view, so to save the data size and improve performance for reports.
Cloase&&apply.
In Relationship view.
Finally,
Hello Maggie,
Thanks a lot for your job and your time.
For the example I add only the project manager in the load tab but for my application I have the team members who are not in the project tab ... I have to make some tests but instead of to do this :
merge queries from "project" table based on column "Name" (Capacity table), column "Project manager" ("project" table),
when expanding, only select "id" to show on the "capacity" table.
I will try to merge the capacity tab with the load tab.
Thanks again
Nicolas
Hi @nbaudry
Feel free to let me know if you have any problem.
This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.
Check out the June 2025 Power BI update to learn about new features.
User | Count |
---|---|
17 | |
9 | |
8 | |
7 | |
7 |