web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Extract Data from Shar...
Power Automate
Unanswered

Extract Data from SharePoint List, match field to 2nd SharePoint list, grab additional fields from matching records

(0) ShareShare
ReportReport
Posted on by 36

Hi Team,

 

I'm working on a flow and I would love some assistance in getting it to work, here is the scenario:

 

I have 2 share point lists, from list A I need to pull out data based on certain field filters, this part is no problems. I then have a 2nd SharePoint list where I want to look at the vendor name in list A, look for that vendor in list B, if there is a match, then grab 3 fields (various account numbers and chargeback accounts) from list B, combine that data then export the data in to excel or csv.

The end result will be the contents from list A, and each vendor in list A will now have the information from the 3 fields that were matched to that vendor in list B.

 

EG:

List A:

Data rows from columns: Vendor, B, C, D

 

List B:

Data rows from Columns: Vendor (Matching from list A), E, F,G

 

End Result

File containing columns: Vendor, B, C, D, E, F, G

 

Any help you can provide would be much appreciated, thanks for your time!

Categories:
I have the same question (0)
  • ArchitectMadhan Profile Picture
    1,584 on at

    @Weggs, You have to extract data from SharePoint List A and store it in array, then loop thru each array record and Query the matching field data from the SharePoint List B, store it in other array as shown in the below example.

    https://powerusers.microsoft.com/t5/Building-Flows/Merging-arrays/td-p/386279

     

    Please accept this as solution, if it works for you.

  • Weggs Profile Picture
    36 on at

    Hi,

     

    Thanks for the idea, although this would have done what I needed, I did find a much easier way to do this without the need of building arrays and comparing them.

     

    When getting the list from the vendor list, I just applied an ODATA filter using the 'vendor' from the first list, then when I added a row to the excel file I added all the fields I needed. This gave the desired result.

    image.png

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 62 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 58

#3
Expiscornovus Profile Picture

Expiscornovus 39 Most Valuable Professional

Last 30 days Overall leaderboard