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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

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
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.