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 / get excel sheet conten...
Power Automate
Unanswered

get excel sheet content in groups power automate

(0) ShareShare
ReportReport
Posted on by 431

Hello Power Users,

 

I have an excel sheet that has around 5000 rows and I wanted to extract only first 'X' number of rows at a time so that flow will not take longer. 

 

Any suggestions on how to handle such huge amount of rows.

 

Thanks in advance!

Categories:
I have the same question (0)
  • Verified answer
    rzaneti Profile Picture
    4,241 Super User 2025 Season 2 on at

    Hi @KrishR ,

     

    To get the first 'x' rows from an Excel Table, you can use the 'List rows present in a table' action and, after clicking in 'show advanced options', set the 'Top Count' to the desired number:

     

    rzaneti_0-1690837906646.png

     

    Here is the output: returned only 3 records (this Excel table as a total of 7 records):

    rzaneti_1-1690838042613.png

     

    If in the future you want to access the next 'x' rows, you can work with a loop that combine both the 'Top Count' and the 'Skip Count' inputs: this second one will ignore a certain quantity of rows when returning the records to you. For example, if I set the 'Skip Count' to 2 and keep the 'Top Count' to 3, it will return 3 records, ignoring the first two of the table:

    rzaneti_2-1690838086357.png

     

    Output:

    rzaneti_3-1690838112738.png

     

    In this second example, the first element matches to the 3rd element from the first flow run.

     

    Let me know if it works for you or if you need any additional help!

     

    -------------------------------------------------------------------------
    If this is the answer for your question, please mark the post as Solved.
    If this answer helps you in any way, please give it a like.

    http://digitalmill.net/ 

     

     

     

  • Verified answer
    wskinnermctc Profile Picture
    6,519 Moderator on at

    If you want to get all 5000 rows, go to the settings of the List Rows and Turn On Pagination. You will have to set a threshold for pagination.

     

    List Rows SettingsList Rows SettingsTurn On PaginationTurn On Pagination

     

    See about Excel Pagination in the link below:

    https://learn.microsoft.com/en-us/connectors/excelonlinebusiness/#known-issues-and-limitations-with-actions 

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard