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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

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
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

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

Top Solution Authors