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 / 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,484 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,974 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

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