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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

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
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

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

June 2025 community update carousel

Fabric Community Update - June 2025

Find out what's new and trending in the Fabric community.