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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends August 31st. Request your voucher.

Reply
FabianoJohann
Regular Visitor

Filter names not cited in another table

I Have 2 Tables:

Table 1:
Column1: Name (with 5 names: Adam, Frank, Thomas, Julie, Simon)

Table 2:
Column1: Name
Column2: Partner
2 Lines: column Name (Adam, Adam), columns Partner (Frank, Thomas)

In Dashboard i have 1 segmentation (Column1 Table1)

I need a table visual that contains:
All column1/table1 names that were not mentioned in column2/table2 when I filter the name in the segmentation.

Example:
Segmentation: Adam
Result: Julie, Simon


1 ACCEPTED SOLUTION
FabianoJohann
Regular Visitor

I couldn't, let's try another way.

by power query, I'll give an example of the tables:

Table 1

Name

Adam

Frank

Thomas



I need an M formula to add a second column that repeats all the names for each name in column 1 except itself, so it looks like this:

Name

Partner

Adam

Frank

Adam

Thomas

Frank

Adam

Frank

Thomas

Thomas

Adam

Thomas

Frank

View solution in original post

2 REPLIES 2
FabianoJohann
Regular Visitor

I couldn't, let's try another way.

by power query, I'll give an example of the tables:

Table 1

Name

Adam

Frank

Thomas



I need an M formula to add a second column that repeats all the names for each name in column 1 except itself, so it looks like this:

Name

Partner

Adam

Frank

Adam

Thomas

Frank

Adam

Frank

Thomas

Thomas

Adam

Thomas

Frank

amitchandak
Super User
Super User

@FabianoJohann , if you have a common dimension name, then measure can help

 

With common name dim 

Countx(Except(Table1[Name], Table2[Partner]), [Name])

 

Plot with common name dim joined with name of table 1 and Partner of table 2

 

Or create a new table

Except(Table1[Name], Table2[Partner])

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

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.

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.