Skip to main content

Notifications

Power Automate - Using Connectors
Answered

filtering rows from google sheet before inserting in to sql server

(0) ShareShare
ReportReport
Posted on by 3

I have a flow to read rows from a google sheets. I need to filter the rows based on a column value in the sheet (where the column named "appended" is empty).

I can successfully apply a filter. And I was successful appending ALL rows to SQL server - but I was not successful appending ONLY the filtered rows.

I tried many ways but Power Automate keeps is not cooperating. It keeps adding in more "apply to each"'s and then the data is added many times.

How can I use filtered data from google Sheets (not excel) to insert in to SQL.Body is coming from Get rows and not from Filter arrayBody is coming from Get rows and not from Filter array

  • Verified answer
    Re: filtering rows from google sheet before inserting in to sql server

    Hi @kellykln ,

     

    You should not use the dynamic content from 'Get Rows' action in 'Insert row' action

    In other words, you should use the outpus of 'Filter array' action.

    vxiaochenmsft_0-1639376096142.png

     

    If you have an array and it has a column named Test, you should use items('Apply_to_each_4')?['Test'] to get its value.

     

    Best Regards,

    Wearsky

     

     

     

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,495

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,822

Leaderboard

Featured topics