Skip to main content

Notifications

Building Flows
Unanswered

Compare 2 excel files

Posted on by 2
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
  • CU18091204-0 Profile Picture
    CU18091204-0 2 on at
    Compare 2 excel files
     
    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
    Nived_Nambiar 15,886 on at
    Compare 2 excel files
    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
     
     

Helpful resources

Quick Links

Welcome to the Power Platform…

We are thrilled to unveil the newly-launched Power Platform Communities!…

Community Update Sept 16…

Power Platform Community Update…

Welcome to the new Power Platform Community!…

We are excited to announce our new Copilot Cookbook Gallery in the Community…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 140,745

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 63,355

Leaderboard

Featured topics