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 / Power Automate Deskto...
Power Automate
Answered

Power Automate Desktop- From Excel file, how to pass total number of rows count to a variable

(0) ShareShare
ReportReport
Posted on by 56
Hi Team,
 
I need to dynamically pass Starting and Ending Row number dynamically instead of passing hardcoded Row ending number highlighted below (in my input excel file last row number is 7874, which will change every week). So, need to pass dynamically which will be help full to use in multiple actions.
 
 
Can someone explain how to capture that will be a great help.
 
 
 
I have the same question (0)
  • Verified answer
    eetuRobo Profile Picture
    4,549 Super User 2026 Season 1 on at
    Use "Get first free row on column from Excel worksheet" -action. Then it produces you the first free row so if you have 10 rows filled it gives you the row number 11. 

    Like so:


    If you want to only autofill 10 then minus 1: 

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 Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 411

#2
David_MA Profile Picture

David_MA 300 Super User 2026 Season 1

#3
Vish WR Profile Picture

Vish WR 291

Last 30 days Overall leaderboard