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 / Detect new XLSX file o...
Power Automate
Answered

Detect new XLSX file on specific folder , create filters and copy filtered data to workbook

(0) ShareShare
ReportReport
Posted on by 566

Hi,

I am a newbie of Power automate, so please explain the flow step by step.

I need to create  a flow to be launched via power apps:

I also need to detect the last created XLSX file on specific folder on sharepoint, then filter value "YES" on column "B" of the detected workbook and paste the filtered content to specific workbook from Row 2 to last row.

is it possible to do this kind of flow via Automate?

Categories:
I have the same question (0)
  • victorcp Profile Picture
    2,350 Moderator on at

    Hi!

    In order to give you a profer answer, could you please provide more information about the files?

    • Is it a template or anyone can upload any kind of file?
    • Do workbooks always have the same name or are they dynamic?
    • Is there any table in the workbook?
  • Sormick Profile Picture
    566 on at
    • This is an XLSX file that i download regularly and always upload to the same folder in sharepoint path. The Columns of this downloaded file are always the same but the values and rows on these columns are not the same. Hope this helps
    • The downloaded filename is Dynamic. This is why i need to get the last uploaded Excel file whatevers its filename. 
    • Unfortunately there is no table on this workbook, so i will neeed to create one (Maybe via the Flow?)
    • The destination workbook which receives my filtered values is not dynamic. it has always the same name. and values must be pasted from Row 2 to last row of non empy cell on the previously uploaded first file.
    • The destination workbook is located on another folder path.
  • Sormick Profile Picture
    566 on at

    Hello, Please could you still help me to generate this Power automate flow? Any idea if this could be possible?

  • Verified answer
    victorcp Profile Picture
    2,350 Moderator on at

    Hi, sorry for the late response.

    In your cenario I think the best option would be using Office Script.

    So the flow will be triggered by When a new file is created in a folder and then it would run this script

     

    for reference: https://learn.microsoft.com/en-us/office/dev/scripts/overview/excel

     

    I hope it helps 🙂

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

#2
11manish Profile Picture

11manish 175

#3
Haque Profile Picture

Haque 166

Last 30 days Overall leaderboard