Skip to main content
Power Automate
    • Connectors
    • Templates
    • Take a guided tour
    • Digital process automation
    • Robotic process automation
    • Business process automation
    • Process advisor
    • AI Builder
  • Pricing
  • Partners
    • Blog
    • Documentation
    • Roadmap
    • Self-paced learning
    • Webinar
    • Business process and workflow automation topics
    • Overview
    • Issues
    • Give feedback
    • Overview
    • Forums
    • Galleries
    • Submit ideas
    • User groups
    • Register
    • ·
    • Sign in
    • ·
    • Help
    Go To
    • Microsoft Power Automate Community
    • Welcome to the Community!
    • News & Announcements
    • Get Help with Power Automate
    • General Power Automate Discussion
    • Using Connectors
    • Building Flows
    • Using Flows
    • Power Automate Desktop
    • Process Advisor
    • AI Builder
    • Power Automate Mobile App
    • Translation Quality Feedback
    • Connector Development
    • Power Platform Integration - Better Together!
    • Power Platform Integrations
    • Power Platform and Dynamics 365 Integrations
    • Galleries
    • Community Connections & How-To Videos
    • Webinars and Video Gallery
    • Power Automate Cookbook
    • Events
    • 2021 MSBizAppsSummit Gallery
    • 2020 MSBizAppsSummit Gallery
    • 2019 MSBizAppsSummit Gallery
    • Community Engagement
    • Community AMA
    • Community Blog
    • Power Automate Community Blog
    • Community Support
    • Community Accounts & Registration
    • Using the Community
    • Community Feedback
    cancel
    Turn on suggestions
    Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
    Showing results for 
    Search instead for 
    Did you mean: 
    • Microsoft Power Automate Community
    • Galleries
    • Power Automate Cookbook
    • Re: Excel read rows unlimit

    Re: Excel read rows unlimit

    08-18-2022 00:05 AM

    JACK_LAI_1117
    Helper V
    938 Views
    LinkedIn LinkedIn Facebook Facebook Twitter Twitter
    juresti
    juresti Continued Contributor
    Continued Contributor
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    Excel read rows unlimit

    ‎03-13-2020 12:48 PM

    Title:

    Excel read rows unlimit

     

    Description:

    This flow helps you read excel data rows beyond your limit for any plan.

    The data is read in chunks, written to temporary text files, then read back in and processed.

     

    Detailed Instructions: 

    In loop get all rows control the number of loops by setting the value is equal to "number".

    The change limits should match the equal to value. I could not find documentation on this but this also controls the number of loops.

    To come up with the number of loops, you will need to do some math.

    For example, I want to read 10,000 rows at 500 each loop, so that makes 20 loops. 20 x 500 = 10,000.

     

    You will also need some math in the list rows present action step.

    The top count and skip counts will control which set of data is read each loop.

    Using the same example of 500 each loop, set top count to 500 and the skip with the formula to multiply the loop by 500

    mul(variables('loopTrack'),500).

     

    The JSON action is where you need to set your own columns and types.

    You should be able to figure out the column name and data type structure by looking at the Parse JSON.

    Then you can set your columns and data types and even add more columns.


    This flow writes each record into sharepoint, the destination can be changed.

     

    Questions:

    Please post any questions.

     

    Anything else we should know: 

    Note that your hourly, items per 5 minute, and other limits can not be over come.

    That is why this flow does not use parallelism to help keep it under the those limits, and it can't use parallelism due to the use of variables within the loops.

    Yes, the flow can take a long time to run on large data, yet it achieves the goal of automating it for you while you sleep.

    So it is probably best suited for plans where you can only read less than 5,000 rows and the file has less than 100,000 rows. 

     

    My sample run of 50,000 rows written to sharepoint from excel

     

    thumb.PNG12.PNG

     

    Preview file
    27 KB
    exceldatarowunlimit_20200402191617.zip
    Labels:
    • Labels:
    • Automated Flows
    • Solutions
    Message 1 of 30
    6,764 Views
    3 Kudos
    Reply
    • All forum topics
    • Previous Topic
    • Next Topic
    • « Previous
      • 1
      • 2
      • 3
    • Next »
    KrishnaV
    KrishnaV Community Champion
    Community Champion
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎04-02-2020 12:07 PM

    Hi,

     

    Thank you for your solution but when I try to import the solution I see the below errors.

    Please help me with this issue.

     

    Regards,

    Kris

     



    I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

    Regards,
    KrishnaV
    Business Applications MVP, Microsoft Certified Trainer
    Twitter | Linkedin | YouTube | GitHub
    If this post helps you give a THUMS-UP and if it solved your issue consider Accept it as the solution to help the other members / new members of the community.

    Preview file
    23 KB
    Message 2 of 30
    4,903 Views
    0 Kudos
    Reply
    juresti
    juresti Continued Contributor
    Continued Contributor
    In response to KrishnaV
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎04-02-2020 12:23 PM

    Hello, Download the new zip file. I had some settings set on that action in error that are now cleared.

     

    I believe it should import now.

    Message 3 of 30
    4,892 Views
    0 Kudos
    Reply
    KrishnaV
    KrishnaV Community Champion
    Community Champion
    In response to juresti
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎04-02-2020 03:18 PM

    Thank you for your help and it is working for me.

     

    Regards,

    Krish

     



    I hope this resolved your issue if you see any challenge/need further help please let me know I am always happy to do it for my community.

    Regards,
    KrishnaV
    Business Applications MVP, Microsoft Certified Trainer
    Twitter | Linkedin | YouTube | GitHub
    If this post helps you give a THUMS-UP and if it solved your issue consider Accept it as the solution to help the other members / new members of the community.

    Message 4 of 30
    4,816 Views
    1 Kudo
    Reply
    MauroViano
    MauroViano Advocate I
    Advocate I
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎01-14-2022 12:24 PM

    havent tested it, if it does what you saiy, i love you, thanks,

    Message 5 of 30
    1,591 Views
    0 Kudos
    Reply
    Yi66
    Yi66 Helper II
    Helper II
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎07-10-2022 09:06 PM

    Hi, why my item almost stucks at 768 everytime I ran the flow?

    Message 6 of 30
    1,056 Views
    0 Kudos
    Reply
    Yi66
    Yi66 Helper II
    Helper II
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎07-22-2022 08:12 AM

    I got a error message: The property 'content' must be of type JSON in the 'ParseJson' action inputs, but was of type 'application/octet-stream'.

    Message 7 of 30
    1,010 Views
    0 Kudos
    Reply
    JACK_LAI_1117
    JACK_LAI_1117 Helper V
    Helper V
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎08-18-2022 12:05 AM

    @juresti 

     

    Thanks for your "Automate"

     

    After I import to my enviroment and modify some configs in thise Automate , now I can import almost 20,000 data to my sharepoint list !

    Message 8 of 30
    938 Views
    1 Kudo
    Reply
    juresti
    juresti Continued Contributor
    Continued Contributor
    In response to Yi66
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎08-18-2022 07:07 AM

    @Yi66 

     

    Have you figured out why your run is stuck at 768?

     

    I can only think maybe there is something odd in that row of your data.

     

    If it gets stuck and there is no error, it is probably running....

     

    Have you let it run until it times out or it finishes?

     

    Message 9 of 30
    930 Views
    0 Kudos
    Reply
    juresti
    juresti Continued Contributor
    Continued Contributor
    In response to Yi66
    • Mark as New
    • Bookmark
    • Subscribe
    • Mute
    • Subscribe to RSS Feed
    • Permalink
    • Print
    • Report Inappropriate Content

    ‎08-18-2022 11:45 AM

    @Yi66 

     

    Is your created file in the loop get all rows step the right type of extension. It may be getting converted to an actual xlsx file if you are using that extension.

     

    application / octet-stream means it was converted to a binary file such as excel and can not be loaded as plain text.

     

    Message 10 of 30
    922 Views
    0 Kudos
    Reply
    • « Previous
      • 1
      • 2
      • 3
    • Next »

    Power Platform

    • Overview
    • Power BI
    • Power Apps
    • Power Pages
    • Power Automate
    • Power Virtual Agents

    • Sign up free
    • Sign in

    Browse

    • Templates
    • Connectors
    • Partners

    Downloads

    • Mobile
    • Gateway

    Learn

    • Documentation
    • Learn
    • Support
    • Community
    • Give feedback
    • Blog
    • Pricing

    • © 2023 Microsoft
    • Contact us
    • Trademarks
    • Privacy & cookies
    • Manage cookies
    • Terms of use
    • Terms & conditions
    California Consumer Privacy Act (CCPA) Opt-Out Icon Your California Privacy Choices