Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago
Solved

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 :

 

 

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!

 

 

  • Anonymous's avatar
    Anonymous
    8 years ago

    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.



    Regards,
    Lydia

2 Replies

  • Anonymous's avatar
    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

  • Anonymous's avatar
    Anonymous
    Not applicable

    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.



    Regards,
    Lydia