Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Find everything you need to get certified on Fabric—skills challenges, live sessions, exam prep, role guidance, and more. Get started

Reply
AbdulazizGH
Frequent Visitor

Table Connection

Hello everyone, I hope you're doing well.

 

I'm working on a dashboard that has different charts on different aspects of Project Management and Manufacturing. I'm facing an issue with my table connection and I searched the internet and couldn't find a solution to my problem.

 

I have three tables:

  1. Project Details: This table is the main table and all other tables are connected to it. This table has the Project Code and Project Name.
  2. Manufacturing: This table has information about the different manufacturing paths in each project and the progress of that path.
  3. Equipment: This table contains the equipment for each project, its status, and criticality.

Attached are the three tables.

AbdulazizGH_0-1725462438188.pngAbdulazizGH_1-1725462447494.pngAbdulazizGH_2-1725462455206.png

 

I have added the "Equipment Code" in the Manufacturing table to connect the equipment with each path (some of the Path or Equipments may not be connected with the other and only connected to the Project Code)

 

When I try to create a Donut chart to show the number of Equipment under each Path with the status of the equipment, I get the wrong indication as well as I can't create a table of the Equipment Code and the Criticality (See below screenshots).

AbdulazizGH_3-1725462503875.png

AbdulazizGH_5-1725462674179.png

 

 

When I tried to create a connection between them I got an inactive connection and when I tried to activate it I got this error message (See below screenshots).

AbdulazizGH_6-1725462756158.png

AbdulazizGH_7-1725462827580.png

 

What is the solution to this issue? Keep in mind that I want the Manufacturing table and the Equipment table on the same level in the hierarchy (Not one of them is the parent table and the other is the child table).

 

Thank you in advance.

 

1 ACCEPTED SOLUTION
v-xianjtan-msft
Community Support
Community Support

Hi @AbdulazizGH 

 

You can try to merge two tables into one new table using the “Merge Queries as new” function in Power Query Editor.

You can find the “Merge Queries” on the Home tab, in the Combine group. From the drop-down menu, select "Merge Queries as new".

vxianjtanmsft_1-1725589787769.png

 

vxianjtanmsft_0-1725589720207.png

Expand the fields from this new table column, then select "Close & Apply".

vxianjtanmsft_2-1725589854316.png

vxianjtanmsft_3-1725589896137.png

 

Refer to this link: Merge queries overview - Power Query | Microsoft Learn

 

Best Regards,
Jarvis Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

View solution in original post

3 REPLIES 3
v-xianjtan-msft
Community Support
Community Support

Hi @AbdulazizGH 

 

You can try to merge two tables into one new table using the “Merge Queries as new” function in Power Query Editor.

You can find the “Merge Queries” on the Home tab, in the Combine group. From the drop-down menu, select "Merge Queries as new".

vxianjtanmsft_1-1725589787769.png

 

vxianjtanmsft_0-1725589720207.png

Expand the fields from this new table column, then select "Close & Apply".

vxianjtanmsft_2-1725589854316.png

vxianjtanmsft_3-1725589896137.png

 

Refer to this link: Merge queries overview - Power Query | Microsoft Learn

 

Best Regards,
Jarvis Tang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

AbdulazizGH
Frequent Visitor

@nandic Thank you for your reply. Unfortunately, these two tables cannot be merged as each table serves its own purpose. 

Is there any other solution? Creating a new query that take the data from Manufacturing table and the respective information from the Equipment table (using the Equipment Code as a reference) won't work?

nandic
Super User
Super User

@AbdulazizGH If these two tables have same granularity and project code, is there any option to merge these two tables into one table? 
As error says, having 3 tables which create circular relationship model is not allowed.

Cheers,
Nemanja Andic

Helpful resources

Announcements
Sept PBI Carousel

Power BI Monthly Update - September 2024

Check out the September 2024 Power BI update to learn about new features.

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

Sept NL Carousel

Fabric Community Update - September 2024

Find out what's new and trending in the Fabric Community.