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

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

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 @vnqt 

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 @vnqt 

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 @vnqt,

 

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

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.