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
ulyssus
Regular Visitor

Lookup value

hi, I want to lookup the work email column values with the Source 1 and Source 2 columns and identify the the value that doesnt match and ignore the blanks. can someone pls help?

 

NameWork emailSource 1Source 2
Davea@abc.com  a@abc.com
Bell b@abc.comb@abc.com 
Jacob J@abc.com J@abc.com 
Martym@abc.com m@abc.com
Wendyw@abc.com  

 

results from source 1 :

a@abc.com

m@abc.com

w@abc.com

 

results from source 2:

b@abc.com

J@abc.com

w@abc.com

 

Thanks 

1 ACCEPTED SOLUTION
Manoj_Nair
Solution Supplier
Solution Supplier

@ulyssus , pls check this Lookup Value.pbix 

Used Related function on Power Query back end data. Yours desired output would look something like this.

image.jpg

If my post helps you to find solution would be happy if you could mark my post as a solution and give it a thumbs up

Best regards

Manoj Nair

Linkedin - https://www.linkedin.com/in/manoj-nair-%E2%98%81-344666104/

View solution in original post

2 REPLIES 2
Manoj_Nair
Solution Supplier
Solution Supplier

@ulyssus , pls check this Lookup Value.pbix 

Used Related function on Power Query back end data. Yours desired output would look something like this.

image.jpg

If my post helps you to find solution would be happy if you could mark my post as a solution and give it a thumbs up

Best regards

Manoj Nair

Linkedin - https://www.linkedin.com/in/manoj-nair-%E2%98%81-344666104/

SamInogic
Super User
Super User

Hi,

As per your requirement, there is a sample table with Work Email, Source 1, and Source 2 as shown in the below screenshot.

SamInogic_0-1671432794683.jpeg

In order to get result 1 to get the work emails does not match from Source 1 we can create a new table with the below DAX expression:

Result1 = FILTER('Emails Table', not('Emails Table'[Work Email] = 'Emails Table'[Source1]))


This will create a new table with work emails that do not match with emails from Source 1 column. Please refer to the below screenshot.

SamInogic_1-1671432794686.jpeg

Similarly, for Result 2 we can use the DAX expression as follows which results in emails, which does not match from Source 2 column.

SamInogic_2-1671432794688.jpeg

 

If this answer helps, please mark it as Accepted Solution so it would help others to find the solution.


Thanks!

Inogic Professional Services

An expert technical extension for your techno-functional business needs

Power Platform/Dynamics 365 CRM

Drop an email at crm@inogic.com

Service:  http://www.inogic.com/services/  

Power Platform/Dynamics 365 CRM Tips and Tricks:  http://www.inogic.com/blog/

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.

Top Solution Authors
Top Kudoed Authors