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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
kshre
Frequent Visitor

Compare columns from unrelated tables

Hello,

In a custom column I need to compare two email columns from unrelated tables, if an email exists in both tables the column will return dont include.

Table A                                             Table B

Email                    Email Include       Email                        
aaa@email.com   Don't Include       aaa@email.com

bbb@email.com   Include                

ccc@email.com    Don't Include       ccc@email.com

 

Help will be much appreciated! 

1 ACCEPTED SOLUTION
jdbuchanan71
Super User
Super User

@kshre , give this a try.

Email Include =
IF (
    ISBLANK ( LOOKUPVALUE ( 'Table B'[Email], 'Table B'[Email], 'Table A'[Email] ) ),
    "Include",
    "Don't Include"
)

I'm assuming you want to add this to Table A

View solution in original post

2 REPLIES 2
jdbuchanan71
Super User
Super User

@kshre , give this a try.

Email Include =
IF (
    ISBLANK ( LOOKUPVALUE ( 'Table B'[Email], 'Table B'[Email], 'Table A'[Email] ) ),
    "Include",
    "Don't Include"
)

I'm assuming you want to add this to Table A

@jdbuchanan71 , Works, thank you!

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.