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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
Gopa
Advocate II
Advocate II

Relationships in Query Editor

Hi

 

Is it possible to create relationships between tables in Power Query Editor? For example there is a header table and a line item table and I want to filter out records in the line item table which has a certain property in the header table. I was checking if this can be achieved in query editor itself before loading it to the data model and use DAX to filter out.

 

I understand relationship creation is not possible in query editor. So, is there any other way we can do this?

 

 

1 ACCEPTED SOLUTION
Thejeswar
Super User
Super User

@Gopa,

Yes there is something called Merge Queries.

 

This is similar to join. You will have to define the join condition between the tables. After the tables are joined, you can filter the data on the column of your need and "Close and apply" the changes to load the data to the report

 

Regards,.

Thejeswar

View solution in original post

3 REPLIES 3
Thejeswar
Super User
Super User

@Gopa,

Yes there is something called Merge Queries.

 

This is similar to join. You will have to define the join condition between the tables. After the tables are joined, you can filter the data on the column of your need and "Close and apply" the changes to load the data to the report

 

Regards,.

Thejeswar

@Thejeswar

 

Thank you very much. Solved the issue...instead of bringing in all the columns, brought only the relevant column from the header table to the line item table and added the filter to that column in the line item table. Thank you once again for the pormpt response. 

@Gopa

Welcome

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.