web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to add more than 5...
Power Automate
Unanswered

How to add more than 5000 rows into excel using Apply to each Control?

(0) ShareShare
ReportReport
Posted on by 78

Hi community,

Really appreciate if anyone can help me with the following.

Goal 1: List rows from Dataverse based on Fetchxml query and add them into excel table (in my case, more than 5000)
Goal 2: List rows from Dataverse based on Fetchxml query and Update/ Delete them (in my case, more than 5000)

 

To List more than 5000 rows, I tried setting the threshold limit to 10000 but still listing 5000 rows so following the PagingCookie way.

 

Below is my flow:

VenkataGolla_1-1668739287361.png


When used apply to each control outside Do until to add a row into an excel table, it is adding the last iteration of Do until.

I wonder if I use the create file, create table and apply to each inside the do until, it will create multiple files and multiple tables.

I see the limit of Apply to each control is 5000.

How can I overcome this to add more than 5000 rows?
Having a premium license will solve this?

Categories:
I have the same question (0)
  • Rhiassuring Profile Picture
    8,690 Moderator on at
    Re: How to add more than 5000 rows into excel using Apply to each Control?

    Hello, 


    This article will show you how to batch. So, simply, no there is no way around the 5000 limit - however, you can iterate through batches of 5000.

     

    https://piyushksingh.com/2020/07/06/power-automate-read-excel-file/

  • Venkata Golla Profile Picture
    78 on at
    Re: How to add more than 5000 rows into excel using Apply to each Control?

    Hi,

    Thanks for your response.

    The article is showing how to list more than 5000 rows which I am achieving, but I want to add them into excel table. 

    updated the post with my requirement.

    Appreciate your time.

  • Verified answer
    takolota1 Profile Picture
    4,974 Moderator on at
    Re: How to add more than 5000 rows into excel using Apply to each Control?

    @Venkata-Golla @Rhiassuring 

     

    You can try using this template for Excel batch Create & Update: https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/Excel-Batch-Create-Update-and-Upsert/td-p/1624706

     

    And this one for batch delete: https://powerusers.microsoft.com/t5/Power-Automate-Cookbook/Excel-Batch-Delete/m-p/1634375#M735

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
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard