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

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 276 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard