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
Dimitris_Kats
Helper V
Helper V

Find non match ID between 2 unrelated tables

Hello dear members 

I have 2 facts tables (unrelated). Both of them are having an ID column. I want to find all the id's from the one table that are not included in the other table.

How can achieve that??

Thank you very much 

1 ACCEPTED SOLUTION
tamerj1
Super User
Super User

Hi @Dimitris_Kats 
You can create a calculated table as follows

=
EXCEPT ( VALUES ( DirectQuery[EmpID] ), VALUES ( Excel[EmpID] ) )

View solution in original post

6 REPLIES 6
tamerj1
Super User
Super User

Hi @Dimitris_Kats 
You can create a calculated table as follows

=
EXCEPT ( VALUES ( DirectQuery[EmpID] ), VALUES ( Excel[EmpID] ) )

Thank you very much @tamerj1

The calculated table solved my problem!

 

@SpartaBI thank you very much for your time!! 

@Dimitris_Kats my pleasure. 
@tamerj1 was faster this time 😜

@Dimitris_Kats Check out my showcase report - got some high level stuff there. Sure you will find there a lot of cool ideas. Please give it a thumbs up over there if you liked it 🙂
https://community.powerbi.com/t5/Data-Stories-Gallery/SpartaBI-Feat-Contoso-100K/td-p/2449543

SpartaBI
Community Champion
Community Champion

@Dimitris_Kats do you want to show me on teams / zoom?

Dimitris_Kats
Helper V
Helper V

@SpartaBI  hello

Thank you very much for the file. 

The lookupvalue is not accepted at the calculated column. I must say that the one table is from a direct query and the other from an excel. I don't know if that's playing a role.

Any other measures I could try??

Thank you very much again for your help 

SpartaBI
Community Champion
Community Champion

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.