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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
Nosh10
Helper II
Helper II

Conditional Formatting based on unrelated tables

Hello!

 

I have the following tables/columns -  table 1: customer ID and email address; table 2: supplier ID and email address

I would like to show:

If table 1 and table2  have a matching email address AND have a customer ID and supplier ID, show list of email addresses.

Please see below for an example.

 

Table 1 
Customer IDEmail Address
334aa@gmail.com
 bb@gmail.com
454cc@gmail.com
122dd@gmail.com
 ee@gmail.com
678ff@gmail.com
 gg@gmail.com
 hh@gmail.com
444ii@gmail.com
876jj@gmail.com
444kkgmail.com
  
Table 2 
Supplier IDEmail Address
1113aa@gmail.com
1112bb@gmail.com
 cc@gmail.com
2345dd@gmail.com
1111ee@gmail.com
1000ff@gmail.com
1100gg@gmail.com
 hh@gmail.com
 ii@gmail.com
5678jj@gmail.com
2000kkgmail.com
  
Table 3 - I'm looking for this result (output)Table 3
aa@gmail.com 
dd@gmail.com 
ff@gmail.com 
jj@gmail.com 
kkgmail.com 

 

Thank you so much!

1 ACCEPTED SOLUTION
v-yuta-msft
Community Support
Community Support

@Nosh10 ,

 

You can achieve this in query editor, select the Customer ID and Supplier ID columns in both table, then filter the blank rows like below:

1.PNG2.PNG 

 

Then merge the two filtered tables using inner join based on Email Address.

3.PNG 

 

Please also refer to the attachment.

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

1 REPLY 1
v-yuta-msft
Community Support
Community Support

@Nosh10 ,

 

You can achieve this in query editor, select the Customer ID and Supplier ID columns in both table, then filter the blank rows like below:

1.PNG2.PNG 

 

Then merge the two filtered tables using inner join based on Email Address.

3.PNG 

 

Please also refer to the attachment.

 

Community Support Team _ Jimmy Tao

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

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

April Fabric Community Update

Fabric Community Update - April 2024

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