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

Microsoft is giving away 50,000 FREE Microsoft Certification exam vouchers. Get Fabric certified for FREE! Learn more

Reply
PowerBI123456
Post Partisan
Post Partisan

Comparing 2 different columns

Hi - Hope someone can help. I have 2 tables below:

 

PowerBI123456_0-1676342253697.png

PowerBI123456_1-1676342425258.png

 

I am trying to see which accounts from table 1 don't have the specific combos in table 2. In this example, it would be account C. 

1 ACCEPTED SOLUTION
amitchandak
Super User
Super User

@PowerBI123456 ,

 

a new column in Table 1 =

var _cnt = countx( Table1, Table1[Code1] = Table2[Code1] && Table1[Code2] = Table2[Code2]) , Table2[Code2])

return

if(isblank(_cnt) , "Missing", "Found")

 

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

View solution in original post

1 REPLY 1
amitchandak
Super User
Super User

@PowerBI123456 ,

 

a new column in Table 1 =

var _cnt = countx( Table1, Table1[Code1] = Table2[Code1] && Table1[Code2] = Table2[Code2]) , Table2[Code2])

return

if(isblank(_cnt) , "Missing", "Found")

 

 

Full Power BI Video 20 Hours YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
PBIApril_Carousel

Power BI Monthly Update - April 2025

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

Notebook Gallery Carousel1

NEW! Community Notebooks Gallery

Explore and share Fabric Notebooks to boost Power BI insights in the new community notebooks gallery.

April2025 Carousel

Fabric Community Update - April 2025

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

Top Solution Authors