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 / read dynamic excel fro...
Power Automate
Answered

read dynamic excel from a folder

(0) ShareShare
ReportReport
Posted on by 31

Hi,
I'm currently working on a flow where the application downloads Excel files to a designated folder, and the names of these Excel files change dynamically. How can I read the latest Excel file stored in that folder?

  • Verified answer
    eetuRobo Profile Picture
    4,607 Super User 2026 Season 2 on at

    Get files in folder has Advanced setting that you can sort by Creation time. And set the "Descending" toggle On

    eetuRobo_0-1706516947035.png

    Then just open the first Files variable. %Files[0]%

    eetuRobo_1-1706517053988.png

     

  • AK88 Profile Picture
    453 on at

    Hi @Jacklin_Jency ,

     

     

    Use Get files and folder action from Power Automate Desktop, 

     

    you can use * or any constant value* in the file filter. 

    eg : testfile20240128001232, if this is your file name and you can make it dynamic in file filter by testfile2024* .

     

    AK88_1-1706518927916.png

     

    AK88_0-1706518877228.png

     

     

    Thankyou,

     

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

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 244

#3
Henil Profile Picture

Henil 102

Last 30 days Overall leaderboard