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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
SBC
Helper III
Helper III

Compare two tables' data in power BI

Hi,

I have two tables, we neeed to compare two tables data matching between two tables and not matching data them in power bi .

User should able to understand the match data between two  tables and not matching data  in single table visual in power bi.

 

 

Table1:

SBC_0-1666245685342.png

 

 

Table2:

SBC_1-1666245716380.png

 

Note: in model part when we connect two table we can do only many-many relationship.

 

Does any one have worked on such kind of scenario?

 

Thanks,

SBC 

 

1 ACCEPTED SOLUTION
SBC
Helper III
Helper III

Hi  ,

above requirement get fullfilled by using full outer join and applying conditional column in the power query.

 

for reference please go through below links:

Link1: Solved: Re: Compare columns based on two different table - Microsoft Power BI Community

link2: 15.4 Merge Data Having Multiple Criteria or Multiple Columns in Power BI (Power Query) - YouT...

 

 

Thanks,

SBC

View solution in original post

2 REPLIES 2
SBC
Helper III
Helper III

Hi  ,

above requirement get fullfilled by using full outer join and applying conditional column in the power query.

 

for reference please go through below links:

Link1: Solved: Re: Compare columns based on two different table - Microsoft Power BI Community

link2: 15.4 Merge Data Having Multiple Criteria or Multiple Columns in Power BI (Power Query) - YouT...

 

 

Thanks,

SBC

Waldo35
Helper I
Helper I

I am not sure i understand the question entirely, but i hope i did otherwise you can let me know. 

 

My table 1

Waldo35_0-1666253524914.png

 

My table2

Waldo35_1-1666253534727.png

 

hereby making profit number on row 4 different.

 

Then the table which looks for non matching rows:

Waldo35_2-1666253586192.png

 

In this case keeping the profit_number of table2. But of course if not needed you could take table1.

 

Formula

= Table.RemoveMatchingRows(Table2, Table.ToRecords( Table1))

 

Helpful resources

Announcements
July 2025 community update carousel

Fabric Community Update - July 2025

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

July PBI25 Carousel

Power BI Monthly Update - July 2025

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