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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Anonymous
Not applicable

Calculated column checking if value exists in another table

Hi,

 

I have 2 different tables

1st Table :  14000 names

2 nd table : 25000 names

I would like to add a column to 2nd Table : True if same value as 1st table , False for missing value

 

Thank you in advance.

 

3 ACCEPTED SOLUTIONS
BITomS
Continued Contributor
Continued Contributor

Hi @Anonymous,

 

Think this function is what you're after: https://learn.microsoft.com/en-us/dax/lookupvalue-function-dax 

View solution in original post

AilleryO
Memorable Member
Memorable Member

Hi,

I do agree with @BITomS if your absolutely need:want to do it in DAX.

My solution would be using a merge in Power Query between both tables.

Let us know if you need more details

View solution in original post

tamerj1
Super User
Super User

Hi @Anonymous 

many options

Table2[Name] IN VALUES ( Table1[Name] )

or

CONTAINS ( Table1, Table1[Name], Table2[Name] )

or

NOT ISEMPTY ( FILTER ( Table1, Table1[Name] = Table2[Name] ) )

View solution in original post

3 REPLIES 3
tamerj1
Super User
Super User

Hi @Anonymous 

many options

Table2[Name] IN VALUES ( Table1[Name] )

or

CONTAINS ( Table1, Table1[Name], Table2[Name] )

or

NOT ISEMPTY ( FILTER ( Table1, Table1[Name] = Table2[Name] ) )

AilleryO
Memorable Member
Memorable Member

Hi,

I do agree with @BITomS if your absolutely need:want to do it in DAX.

My solution would be using a merge in Power Query between both tables.

Let us know if you need more details

BITomS
Continued Contributor
Continued Contributor

Hi @Anonymous,

 

Think this function is what you're after: https://learn.microsoft.com/en-us/dax/lookupvalue-function-dax 

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 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.