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 / Filter Array: How to c...
Power Automate
Unanswered

Filter Array: How to compare on a single column in the *From input? (a PKID)

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I have a Filter Array and it works fine when my two SELECT sources contain only a single column.  However, I need to retrieve multiple columns and only compare on a specific / single one.

I would be fine with only using a single column in both of my SELECT steps, but I need to use the other columns in the "SelectSQL" task.  I am comparing the two sources and the SelectSQL rows that are not in the SPO list I need to insert into the list.  So if I only include the single "Timeline Order" (unique ID) in the SELECT step then I don't know how to access the needed columns after the FilterArray returns the output of the rows that are not equal.  Can I take the output of the Filter Array when I feed it only a single column and then go back to my SQL Server resultset and join back against it to pickup the other columns I need?  

If I use Filter Array and feed it only a single column it works, but I lose access to the other columns I need in my SQL source.  If I feed the Filter Array multiple columns it fails the compare as it tries to compare all columns not just the single column that is unique in both sets.    

Overall Goal:
Query SQL Server
Query SPO List
Get the rows that are in SQL Server but NOT in the SPO List
Insert the "missing rows" that are in SQL Server into the SPO List.

Questions_0-1661867067351.png

 

I tried to adjust the Filter array conditions, but without being able to specify the column in the "from" I don't think it will matter.  It is the "from" input that has multiple columns.  I only need to compare on the Timeline Order column in the "from".


Questions_1-1661867372177.png

 

Categories:
I have the same question (0)
  • DexPoint Profile Picture
    191 on at

    I have a similar requirement, that i have records being created at a "Header" level. that should only contain 1 entry and the line items. i also need to filter out the rows that contain the same data set so only one row remains based on just one column.  In my case, it creates a row for each (Could be 2 could be 3) but i just want one. so any solution that is posted here will also help me.

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

#2
Haque Profile Picture

Haque 68

#3
Expiscornovus Profile Picture

Expiscornovus 56 Most Valuable Professional

Last 30 days Overall leaderboard