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 / Get same amount of row...
Power Automate
Answered

Get same amount of rows from Excel file to a new one

(0) ShareShare
ReportReport
Posted on by 2

Hello

 

I am trying to get all the rows from an Excel file in my Power Automate Desktop flow, but I don't know how I can specify to the last row from that Excel file.

 

Example: The Excel file that I want to import the data from has 4,866 rows so I want my flow to write that same amount of rows in a new file.

 

StevensBaez_1-1657761350003.png

 

In my current flow, the program keeps writing to all rows unlimitedly, so I'd like it to write exactly how many rows there are in the source Excel file (in this case 4,866).

 

StevensBaez_2-1657761624200.png

I want the data obtained from the form to be repeated up to a certain number of times (the number of rows in the source file, in this case 4,866). There should be 4,866 rows in total, what it does now is to do it unlimitedly.

 

 

This is my current flow:

 

- Main flow

 

StevensBaez_3-1657761779499.png

StevensBaez_7-1657761946787.png

StevensBaez_8-1657761957808.png

 

 

 

- Read_Write_Excel_Details (subflow)

StevensBaez_6-1657761858561.png

 

 

I have the same question (0)
  • Verified answer
    VJR Profile Picture
    7,635 on at

    Hi @StevensBaez 

    If you do a minus 1 from the FristFreeRow it gives the last row with data.

    %FirstFreeRow-1%

     

    If you are already using it please recheck the logic.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 274 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 175

#3
Haque Profile Picture

Haque 166

Last 30 days Overall leaderboard