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

Get Fabric Certified for FREE during Fabric Data Days. Don't miss your chance! Request now

Reply
Anonymous
Not applicable

Get the value from a column based on a search over another column

Hello to all

 

I have a directory table that has the FullName; Email, and Alias.

 

In another table I can have the user listed by email or Alias. So I can not link them to facilitate the work.

 

What I need is to search the value (email first, Alias after) from table A in the Directory Tablem and if exists return the FullName.

 

I tried Contains and IF but it did not worked.

Vlookupvalue doesn't seem to be what I need.

 

What can I use?

 

Thanks

1 ACCEPTED SOLUTION
Anonymous
Not applicable

Hi @Anonymous.

 

 

For your scenario, you can refer to below link to know how to search specific text in your formula.

Reference link:
IF and Search Function for finding if a specific value exists in two columns

 

If above not help, please share some sample data to test. 

 

Regards,

Xiaoxin Sheng

View solution in original post

2 REPLIES 2
Anonymous
Not applicable

Hi @Anonymous.

 

 

For your scenario, you can refer to below link to know how to search specific text in your formula.

Reference link:
IF and Search Function for finding if a specific value exists in two columns

 

If above not help, please share some sample data to test. 

 

Regards,

Xiaoxin Sheng

Anonymous
Not applicable

@AnonymousI managed to do a multilple IF using the CONTAINS and LOOKUPVALUE. For the lookup I use the search text from the other table and it works as expected. I was thinking wrong. But it is a tricky way to do it usinf the multiple IF. Maybe a CASE function should be in order. 🙂

Helpful resources

Announcements
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.

Top Solution Authors