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 / Comparing SP List to E...
Power Automate
Unanswered

Comparing SP List to Excel

(0) ShareShare
ReportReport
Posted on by

Hi all,

 

I'm making a flow that should iterate over each item (record) in a SharePoint List and make sure there is a matching record in a table in a Excel file. If there it no matching record, the item should be deleted from the SP List. There's a little quirk in that there are no unique identifiers on each record / item, but we can combine three columns to identify. 

 

My initial thoughts are to

  > do a 'List rows present in table' and a 'Get items'

  > Parse JSON the output of the List rows present in table

  > Apply to each the 'value' output of the 'Get items'

  > 'Filter array' the output of the Parse JSON with each of the three fields that can be used to uniquely identify records

  

… and be left with the output of the final Filter array being an array of length 1 which should match current SP item that is being iterated, or an array of length 0, meaning there is no matching record in the Excel file.

 

Capture_flow.PNG

 

Above is my attempt at implementing this, but the problem I'm facing is that the output of the first Filter array is empty square brackets. Any suggestion on how best to fix this or alternative means of achieving the same ends would be greatly appreciated.

Categories:
I have the same question (0)

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 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard