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 / How to make flow to re...
Power Automate
Answered

How to make flow to read data from dynamic excel file

(1) ShareShare
ReportReport
Posted on by 49

I am creating a flow where in a folder different Excel files are there , but I want to say open only Particular excel file 

whose name is dynamic at the end date is written. 

Lets say in folder 3 files Book1, book 2 and Category20120221 I have to read data from Category file which will be replaced every month as Category20120321 and from this Category file data need to read .

 

How is possible this in Power automate.

 

 

 

 

I have the same question (0)
  • XRQ57 Profile Picture
    206 on at

    Hi

    If the stream only needs to read a specific file, I don't think Power Automate is the best solution.
    Personally, I would go through PowerQuery.
    As soon as the file contains the word "Category", it will load the data into a table which can be used on PAD.

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    Get files Category*.xlsx to %Files% (click on Advanced) Sort by Last Modified descending.

     

    The latest file will always be %Files[0]%

  • Rkv_ Profile Picture
    166 on at

    @XRQ57 You can directly use Launch Excel action, and specify variables in Document Path.

    Rkv__0-1643956063960.png

    In the above screenshot  the variable %SpecialFolderPath%  is path to Documents folder.
    and the variable %FormattedDateTime% is the date in required format.

    Rkv__1-1643956159006.png

    So the above program will launch excel file with name Category20220204.xlsx under My Documents folder.  
    I hope the above helps you.





  • Verified answer
    Rkv_ Profile Picture
    166 on at

    @XRQ57 if the above solution is useful to you, Please mark it as a solution.

  • XRQ57 Profile Picture
    206 on at

    @Rkv_ it is not my topic.

    Ask to @Hana123TEI 

  • Hana123TEI Profile Picture
    49 on at

    Hi, 

     

    Yes Thanks it works ...

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 442

#2
Vish WR Profile Picture

Vish WR 328

#3
David_MA Profile Picture

David_MA 268 Super User 2026 Season 1

Last 30 days Overall leaderboard