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 / Argument 'EndRow' must...
Power Automate
Answered

Argument 'EndRow' must be an integer value

(0) ShareShare
ReportReport
Posted on by 2,297

Hello,

 

I'm using PAD to retrieve data from an Excel table:

WebPortal_0-1616431185002.png

 

 

This works well, apparently. The variable are generated are good:

WebPortal_1-1616431221282.png

 

 

But after running this flow, I get the error:

 

Argument 'EndRow' must be an integer value

 

WebPortal_2-1616431266235.png

Also tried to replace A and B with 1 and 2, and the error persists.

 

Any ideas?

I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @WebPortal ,

    Update the code to %FirstFreeRow - 1%

    Put the -1 inside the %% characters

    EndRow:

     

    %FirstFreeRow - 1%

     

    Hope this fixes the issue 🙂

     

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 957

#2
Valantis Profile Picture

Valantis 847

#3
Haque Profile Picture

Haque 609

Last 30 days Overall leaderboard