cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
SunShenoy
Helper I
Helper I

Vlookup function in Power Automate to update one library item from another list

Hi, I have a Master list holding Information on Document Number and its Title. I have a document library where I will be uploading files with the same name as the Document Number with its version. So far I am able to fetch the Document Number and its version in two separate columns based on the file name.

 

I am however stuck pulling the Document Title from my Master List into the Master Document Library. If it would have been excel, I would have just used vlookup and pulled the data as I have the CalcDocNumber as the lookup value.

 

Can you help me write a Power Automate flow to pull this data.

 

SunShenoy_0-1669638818032.png

 

1 ACCEPTED SOLUTION

Accepted Solutions
annajhaveri
Community Champion
Community Champion

@SunShenoy  do you already have the flow created? You can use Get Items action to get item from master list with filter query DocNumber eq '<doc number value>' and the item that you get as output of Get Items will have the Document Title value.

Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.

View solution in original post

6 REPLIES 6
annajhaveri
Community Champion
Community Champion

@SunShenoy  do you already have the flow created? You can use Get Items action to get item from master list with filter query DocNumber eq '<doc number value>' and the item that you get as output of Get Items will have the Document Title value.

Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.

Hi, It was just a coincidence that I managed to find a similar solution that you have proposed and it worked. Thanks,

Sunil.

Hi, I notice that even if I add a single row it triggers 100s of flow. Probably it checks every row and tries to update the data. Is it possible to only look at the changed row or rows with empty data.

 

SunShenoy_0-1669730481630.png

 

 

Thanks,

Sunil.

@SunShenoy  what is the trigger of your flow? 

Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.

The trigger is When an item is created or modified.

SunShenoy_0-1670321588801.png

 

@SunShenoy  is your flow trigger on master document library or master list? I think it should trigger on Master Document library, then fetch value of Doc Number from trigger, then use Get Items action to get item from master list with filter query DocNumber  eq 'select docnumber value from trigger dynamic content'. So get items will return you the matching item from master list with given doc number. Then you can get Document Title from get items output to update the document properties.

Regards,
Anna Jhaveri

If I have answered your question, please mark the post as Solved to help other users to identify the correct answer
If you like my response, please give it a Thumbs Up.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (5,972)