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
Anonymous
Not applicable

Compare two tables and display missing rows from the first table

Hi Folks,

I am facing a challenge. I have two different tables that have hundreds of rows in them. These two tables are connected by a common column(Name). I want to compare two tables on the attribute name and then display the rows of table-1 which are not present in Table-2. It would be great if anyone can help me in this regard:
My data looks like this

 bharathkarre_0-1600878617748.png         bharathkarre_1-1600878645949.png

 

bharathkarre_2-1600878662723.png

 

 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@Anonymous , Create a new table like

New table =
var _tab = except(all(Table1[Name]),all(Table2[Name]))
return
calculatetable(Table1, filter(Table1, Table1[Name] in _tab))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

3 REPLIES 3
amitchandak
Super User
Super User

@Anonymous , Create a new table like

New table =
var _tab = except(all(Table1[Name]),all(Table2[Name]))
return
calculatetable(Table1, filter(Table1, Table1[Name] in _tab))

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

@amitchandak The new table we have created is working well when the data is stable. But in my case, Table 1 has live data & it changes every few seconds. Table 2 is updated once a day. So I need to keep comparing the two tables and keep changing the rows in the new table very frequently(every few seconds). Is this possible?

Anonymous
Not applicable

Thank you so much for your quick help @amitchandak 

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.