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 / Extract Data can only ...
Power Automate
Suggested Answer

Extract Data can only generate 21 rows

(0) ShareShare
ReportReport
Posted on by 6
ello, please help me fix this. I have recorded the extract data process from the web multiple times using a scroll-down flow, but the extracted table still only produces 21 rows, even though the page contains more than 75 tables. I’m really frustrated about this. Is there a solution?” 
only21rows.png
I have the same question (0)
  • Suggested answer
    Riyaz_riz11 Profile Picture
    4,150 Super User 2026 Season 1 on at
    Hi,
     

    Solution 1: Implement Proper Scroll and Wait Strategy

    The most likely issue is that your scrolling isn't giving enough time for new content to load. Try this approach:


    1. Use a Loop with Scroll and Wait:

      • Add a "Loop" action (set to a reasonable number like 10-20 iterations)

      • Inside the loop, add "Send keys" action with {End} or {PageDown} to scroll

      • Add "Wait" action for 3-5 seconds after each scroll

      • Add "Get details of web page" to check if new content loaded

      • Use conditional logic to break the loop when no new content appears



      •  

    2. JavaScript Scroll Method:

      • Use "Execute JavaScript function on web page" action

      • Script: window.scrollTo(0, document.body.scrollHeight);

      • Wait 3-5 seconds

      • Repeat this process multiple time  



    3.  

    Solution 2: Extract Data in Batches

    Instead of trying to get all data at once:


    1. Record Multiple Extraction Sessions:

      • Extract the first 20-25 items

      • Scroll down significantly

      • Extract the next batch

      • Continue until you've covered all content


      •  

    2. Combine Data:

      • Use "Merge datatables" action to combine all batches

      • Remove duplicates if necessary
     

    Solution 3: Alternative Approach with Browser Actions


    1. Use "Launch new Chrome" or "Launch new Edge"

    2. Navigate to the page manually first

    3. Use "Press key combination" actions:

      • Press Ctrl+End to go to bottom

      • Press Ctrl+Home to go to top

      • Then perform extraction
     
    If I have answered your question, please mark it as the preferred solution ✅ . If you like my response, please give it a Thumbs Up 👍.
    Regards,
    Riyaz
  • Suggested answer
    eetuRobo Profile Picture
    4,522 Super User 2026 Season 1 on at
    Have you tested to run the action or did you determine that it only takes 21 rows in that Live web helper preview window? If so try to test the action to see if it actually gets all the rows but only gives 21 in that Extraction preview.

    If that's not the issue then does the page load more data when you scroll down? If so then open the Advanced settings and toggle on "Use paging" and give it the CSS selector that loads more items.


    So example in this site: Example4 - Continuous infinite scroll
     
    I get all the Project items with the Extract data from web page Live web helper.

    Then in the browsers Inspect tool (F12) I check what element is the one that activates the loading more items.


    Right click on that element and select Copy Selector

    Then in the Advanced Settings I paste it in to the CSS selector for next page of search result:


    In my demo I used first 5 pages to make the testing quicker but in your case change that to "All available"

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

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 959

#2
Valantis Profile Picture

Valantis 872

#3
Haque Profile Picture

Haque 589

Last 30 days Overall leaderboard