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 / SQL Get Rows - Filter ...
Power Automate
Unanswered

SQL Get Rows - Filter with multiple values in array variable

(0) ShareShare
ReportReport
Posted on by 2

I'm building a flow to automatically email our vendors their ACH remit. 

I've pulled in all the ACH payments for the past day with SQL, now I need to pull in all the vendors' information for that batch of payments.

 

I have over 1100 vendors in my table so I don't think that pulling in the entire table each time makes sense. So I have an array variable with the vendor code in it, and I want to use that variable for my get Rows V2 step to only pull in the Vendor information apart of that array variable. 

I'm thinking that I'm needing to perform a "for each" step, but that seems to be taking way longer than it should. 

 

Any thoughts?

Categories:
I have the same question (0)
  • v-litu-msft Profile Picture
    on at

    Hi @levi_Kovach,

     

    You could consider using the ODATA filter query in the Get Rows (V2) action, for more detail, please refer to this post:

    https://powerusers.microsoft.com/t5/Building-Flows/GET-SQL-ROWS-With-OData-Filter-And-OR-Query/m-p/96845

     

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • levi_Kovach Profile Picture
    2 on at

    Unfortunately that deals with Dates, not arrays. 

    I could potentially have a day where 59 items would be in the array to filter with. 

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard