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 Automate
Suggested Answer

Compare 2 excel files

(1) ShareShare
ReportReport
Posted on by 12
Hi, I am new with PA and trying different solutions.
I would like to compare the contents of two excel files and as a result get only the data that is in file-2 and not in file-1
 
Unfortunately there is an error that I can't deal with. It concerns the part of comparing two arrays. Filter array doesn't filter the elements of the array correctly. items('Apply_to_each')?['Row'] shows the elements of the array from file #2 but doesn't compare with item()?['Row'] - the array from the data of file #1. As a result, I have an empty array
 
How to compare these two tables so that as a result you get only the data that are in file-2 and bypass those that are in file-1
filter-array.jpg

Your file is currently under scan for potential threats. Please wait while we review it for any viruses or malicious content.

Categories:
I have the same question (0)
  • Suggested answer
    Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 on at
    Hi,
     
    in the blog, i think from field of filter array should have mapped to select action's output from first excel data. Then things would have work
     
     
  • CU18091204-0 Profile Picture
    12 on at
     
    I also think that there is an error and should be compared two arrays: from the first file and the second file but I have it set like this:
     
     
    and it still doesn't work properly. Perhaps item()?['Row'] is not referencing the first data file but I don't know how to change it.
  • Nived_Nambiar Profile Picture
    18,136 Super User 2026 Season 1 on at
    Hi,
     
    I don't think it is due to issue in referencing the value from first excel where item()?['Row'] is not working.
     
    May be try to compare the values in select action for both excel types and see whether they are same or not ?
     
     

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 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard