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
Anonymous
Not applicable

Joining Tables

Hello, 

 

I have two tables that I need to join and pull data from. 

 

Table A holds Projects (Parent), Table B holds Tasks (Child). Table B has a Parent ID column that joins to Table A on the ID column. Here is an example :

 

2018-08-22_16-35-48.jpg

 

I need to identify the corresponding child tasks in Table B for the Projects in Table A.

 

I've already created a relationship between TableA.ID and TableB.ParentID and tried merging the queries using an inner join, but it did not return any matches (when there are clearly matches there). 

 

Any suggestions? Thanks in advance!

 

 

1 ACCEPTED SOLUTION
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@Anonymous,

How do you merge the tables in Power BI Desktop? Everything works well when I use Merge Queries option in Query Editor or use DAX.

1.PNG2.PNG3.PNG

Regards,
Lydia

Community Support Team _ Lydia Zhang
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

2 REPLIES 2
v-yuezhe-msft
Microsoft Employee
Microsoft Employee

@Anonymous,

How do you merge the tables in Power BI Desktop? Everything works well when I use Merge Queries option in Query Editor or use DAX.

1.PNG2.PNG3.PNG

Regards,
Lydia

Community Support Team _ Lydia Zhang
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Anonymous
Not applicable

Hey @Anonymous

 

I recommend using the Merge Queries option inside the Query Editor. I've still never been able to get NATURALINNERJOIN to work...

 

-Parker

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.