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
mmakhlo
Frequent Visitor

Merge and keep rows that don't match

I am attempting to verify URLs from two different tables. I want to verify if the URLs in table A match those in table B and if they don't, display the URL from table B on the visual. I am trying to use the Merge feature but I need it to merge the tables and leave me with the URLs that don't match instead of those that do. Is this possible? If not, any suggestions on how to tackle my problem?

4 REPLIES 4
v-ljerr-msft
Microsoft Employee
Microsoft Employee

Hi @mmakhlo,

 

What's the relationship between those two tables(One to One, One to Many, or Many to One)?

 

Could you post your table structures with some sample data and your expected result, so that we can better assist on this issue? Smiley Happy

 

Regards

@v-ljerr-msft

This is my current table structure

 

Site Collections Table

Site Collections Link | Subset 1 Link | Subset 2 Link| Subset 3 Link

 

Site List

URL Text

 

 

Data Structure.PNG

 

These are the relationships I have between the tables. I am connecting each Link column in the left table to the URL Text column in the right table.

 

The links in the left table may not be accurate as they were entered manually. The link in the URL Text column are accurrate and being constantly updated. What I would like to do is compare them and if they are different for each site replace the wrong link with the correct one. Hopefully that makes sense! Thanks for trying to help!

Hi @mmakhlo,


These are the relationships I have between the tables. I am connecting each Link column in the left table to the URL Text column in the right table.


If you have linked the two tables with Link column in the left table and the URL Text column in the right table that you want to compare, then you can get the related URL Text for the Link column only when they have the same value. That is to say, if the link in Link column in the left table is different from the link in the URL Text column, then there will be no match value for the link column, then Blank value will be returned.

 

So you may need to link the two table with other columns(other than the Link column and URL Text column you need to compare). If such columns exists, could you post some sample data, so that we can further assist on this issue? Smiley Happy

 

Regards

vanessafvg
Super User
Super User

When you merge in power query you should have a variety of join options

This article goes through the diff scenarios
https://businessintelligist.com/2015/09/15/power-bi-desktop-merge-query-options/




If I took the time to answer your question and I came up with a solution, please mark my post as a solution and /or give kudos freely for the effort 🙂 Thank you!

Proud to be a Super User!




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.