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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Compare two SP lists u...
Power Automate
Answered

Compare two SP lists using a column and add unique values to another SP list

(0) ShareShare
ReportReport
Posted on by 2

Hi! 

I was able to use filter array to compare two columns from different sharepoint lists, one masterlist and one record, then add the unique values into a new sharepoint list. But I also need some of the other information from the other columns on the masterlist to be included in the new list. Whenever I just try to add the flow automatically creates an 'apply to each' and the output values on the masterlist gets all messed up and duplicated. How do I avoid this. 

 

This is what the masterlist looks like:

1.png

 

This is what the records look like: 

mcfkim_0-1693144705890.png

 

I would like the flow to look at the employee numbers only and generate a new list that's all the employee numbers that aren't in the records. But I would also like the First Name, Department, and Position Code column to be included in the new list like this: 

 

mcfkim_1-1693145188821.png

Please help!

Categories:
I have the same question (0)
  • Verified answer
    creativeopinion Profile Picture
    10,502 Super User 2025 Season 2 on at

    @mcfkim Please reference this YT Tutorial I recently uploaded that covers how to use the Filter Array action to cross-reference data. 

     

    The first section covers how to cross-reference data from an Excel Table against a SP list. The same concept applies for cross-referencing two SharePoint lists.

     

    Tip: You can also toggle on enforce unique values for the Employee No. column to prevent any duplicates as well. 

    creativeopinion_0-1693155011020.png

     

    Hope this helps!


    If I helped you solve your problem—please mark my post as a solution ✅.
    Consider giving me a 👍 if you liked my response!

    👉Watch my tutorials on YouTube
    👉Tips and Tricks on TikTok

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 503 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 321 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard