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 / Reference n rows of Pa...
Power Automate
Unanswered

Reference n rows of Parse JSON object

(0) ShareShare
ReportReport
Posted on by 4

Hi guys, I am encountering an issue with the 5000 limit maximum for looping in Microsoft Flow. I have a Parse JSON object with 30,000 rows which are each to be placed into an 'Insert Row' SQL action. I am wondering whether it is possible to reference the first 5000 rows, and put them into the SQL action, and then rows 5001 to 10,000. Any ideas? 

Thanks! 

Categories:
I have the same question (0)
  • Sundeep_Malik Profile Picture
    6,501 on at

    Hey @nalhcal 

    I have not tried it the thing I am going to tell you with sql, but I have done it with sharepoint.

     

    Sundeep_Malik_0-1665411299978.png

    So, for the 1st one, keep top count as 5000.

     

    Next perform whatever you want to perform.

    After that add another Get rows action and in that give top count 5000 and skip count as 5000.

    So, now it will read from 5001 to 10000.

    And keep doing it till you read all 30000 rows.

  • takolota1 Profile Picture
    4,980 Moderator on at

    @nalhcal @Sundeep_Malik 

     

    You can also try using this batch SQL query flow to send most of the data at once without as much intermediate batching or looping.

    https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/SQL-Batch-Create-Read-Update-and-Delete/td-p/1715338

  • nalhcal Profile Picture
    4 on at

    Hi @Sundeep_Malik , this appears only to apply to the 'get rows' function rather than insert. 

  • nalhcal Profile Picture
    4 on at

    Bump

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the April Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Vish WR Profile Picture

Vish WR 470

#2
Haque Profile Picture

Haque 411

#3
David_MA Profile Picture

David_MA 337 Super User 2026 Season 1

Last 30 days Overall leaderboard