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
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
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.