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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
GTS2010
Frequent Visitor

Lookup

I am trying to lookup use a substring from table Matl from Bill-of-material (BOM) and assign the Matl Code to matching records. Any ideas how?
power query lookup.jpg

 

5 REPLIES 5
parry2k
Super User
Super User

@GTS2010 you can use lookupvalue function to add new column in BOM

 

 



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

TomMartens
Super User
Super User

Hey,

 

please provid sample data, create a pbix, upload the pbix and accompanying xlsx to oendrive or dropbox and share the link.

 

Please provide an expected result.

 

Regards,

Tom



Did I answer your question? Mark my post as a solution, this will help others!

Proud to be a Super User!
I accept Kudos 😉
Hamburg, Germany

Link https://www.dropbox.com/sh/dx6vhee41zhv8eb/AABeJC-f2Z3LgOsdtjAOC-kBa?dl=0

 

Excel has format and a couple example column A bottom.

 

Thanks for the help

 

Kevin

@GTS2010 just downloaded pbix and there are many tables, so which one we are searching from and to which one? Names of the tables are totally different what you posted.



Subscribe to the @PowerBIHowTo YT channel for an upcoming video on List and Record functions in Power Query!!

Learn Power BI and Fabric - subscribe to our YT channel - Click here: @PowerBIHowTo

If my solution proved useful, I'd be delighted to receive Kudos. When you put effort into asking a question, it's equally thoughtful to acknowledge and give Kudos to the individual who helped you solve the problem. It's a small gesture that shows appreciation and encouragement! ❤


Did I answer your question? Mark my post as a solution. Proud to be a Super User! Appreciate your Kudos 🙂
Feel free to email me with any of your BI needs.

I missed giving you comm code app.xlsx. - see Comm code tab in this sheet

I redirected connection to comm code app.xlsx in pbix file just now - Table comm Code
All the other tables come from COMM_CODE LKUP which contains Name ranges are each of the other tables in the pbix are connected to it

contact me directly at kzandee@gts2010.com if you want 







Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount! Prices go up Feb. 11th.

Feb2025 Sticker Challenge

Join our Community Sticker Challenge 2025

If you love stickers, then you will definitely want to check out our Community Sticker Challenge!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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