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
Anonymous
Not applicable

Vlookup column in power bi using text values

Hello,

 

I must be missing something here, so if anyone can assist - it would be greatly appreciated. In the query editor, I would like to create a new column like the "result" below. I can do this very simply in excel, but I am struggling in Power BI because they are all text columns. Hoping someone smarter than me can help! 

 

=VLOOKUP(A2,B:B,1,FALSE)

A              B             C

Prod Raw Mat Result

ProdRaw MatResult
XA#N/A
YZ#N/A
ZBZ
1 ACCEPTED SOLUTION

Hi @Anonymous ,

 

Are you creating a measure using LOOKUPVALUE function?

If yes, then don't do that. Create a column and then use LOOKUPVALUE function.

Pragati11_0-1610559656905.png

 

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

View solution in original post

5 REPLIES 5
Pragati11
Super User
Super User

Hi @Anonymous ,

 

Rather than doing this in Query Editor in Power BI, create a calculated column using LOOKPVALUE function.

Check the following link on this DAX function as follows:

https://www.c-sharpcorner.com/article/dax-in-power-bi-how-to-use-lookupvalue-function/

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Anonymous
Not applicable

Thanks for the quick response, the problem I have is all of my columns are text columns. The "Search_Value1" (as shown below) is only allowing me to grab a measure from my measures table, it won't allow me to take a column from my 'Formula_master' table. Is it possible to create a custom or calculated column?

Kabartz_0-1610559281078.png

 

Hi @Anonymous ,

 

Are you creating a measure using LOOKUPVALUE function?

If yes, then don't do that. Create a column and then use LOOKUPVALUE function.

Pragati11_0-1610559656905.png

 

 

Thanks,

Pragati

Best Regards,

Pragati Jain


MVP logo


LinkedIn | Twitter | Blog YouTube 

Did I answer your question? Mark my post as a solution! This will help others on the forum!

Appreciate your Kudos!!

Proud to be a Super User!!

Anonymous
Not applicable

Do you by chance know why it is telling me that "A table of multiple values was supplied where a single value was expected"? My data may have instances where there are multiple texts that are the same in each column. 

 

 

Anonymous
Not applicable

Nevermind I got it! Thank you for all your help!

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

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