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

The FabCon + SQLCon recap series starts April 14th at 8am Pacific. If you’re tracking where AI is going inside Fabric, this first session is a can't miss. Register now

Reply
KWelsh8144
Helper II
Helper II

Combining data from two different tables

Hi, I'm currently using Direct Query (and cannot change to import since it needs to be live) and cannot figure out how to get the data to display the way I need it to.

 

I have two tables that are joined by the ID. One of the tables lists projects and the other table lists the tasks associated with the projects.

 

For example, project 1 may have 5 tasks associated with it. I'm looking to design a table that lists the projects but with the tasks inserted (indented) under the project.

 

Is this possible?

 

Thanks!

1 ACCEPTED SOLUTION
KWelsh8144
Helper II
Helper II

I managed to this to work by starting over. I had added one column to the table, so i'm not sure if  that's what was holding this up or what, but i did manage to get this to work.

 

Thanks for your help!

View solution in original post

7 REPLIES 7
KWelsh8144
Helper II
Helper II

I managed to this to work by starting over. I had added one column to the table, so i'm not sure if  that's what was holding this up or what, but i did manage to get this to work.

 

Thanks for your help!

Anonymous
Not applicable

@KWelsh8144,

Could you please post the T-SQL statements that you use to create the tables so that I can repro? Also we need to know what other transformations you made in Power BI Desktop Query Editor .

Regards,
Lydia

KWelsh8144
Helper II
Helper II

@Anonymous I am using the October 2018 version. I originally had it as the highlighted option: Merge Queries as New. I tried it using Merge Queries and I receive the message below.Capture.PNG

 

 

Anonymous
Not applicable

@KWelsh8144,

What version of Power BI Desktop do you use? Do you merge into a new query using the highlighted option below? If so, switch  to use merge queries option. If the issue still persists, please share the T-sql you use to create the two tables so that I can test.

1.PNG

Regards,
Lydia

KWelsh8144
Helper II
Helper II

Capture.PNG

 

I am receiving this error when i close & apply. What can I do to get passed this? @Anonymous

Anonymous
Not applicable

 
Anonymous
Not applicable

@KWelsh8144,

You can merge the two queries in Power BI Desktop query editor based on ID, for more details, please review this blog:http://radacad.com/append-vs-merge-in-power-bi-and-power-query.

Regards,
Lydia

Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

Check out the March 2026 Power BI update to learn about new features.