Skip to main content

Notifications

Power Automate - Using Connectors
Unanswered

File stored into an folder, changing name everyday!

(0) ShareShare
ReportReport
Posted on by

Hi PowerAutomate Community!

I am new at creating flows, hope you can help me 🙂 

 

There is a report generated every day on Sharepoint, I need to extract the new rows of this file that have been added to my reporting file. However:

  • The name changes: the name of the file is the date when it has been generated (ex: 01.05.2022)
  • This file is stored in a folder with the same name. So File 01.05.2022 is stored in Folder 01.05.2022 and so on...
  • There are several files for up to 3 days.

An idea of how it looks like:

JakesJan_0-1641401873827.png

 

So my idea was to extract the most recent file created but it is giving me hard time knowing how to proceed as it is also stored in a folder (which contains only this file).

 

Any advice?

 

Many thanks 

 

  • DamoBird365 Profile Picture
    DamoBird365 8,942 on at
    Re: File stored into an folder, changing name everyday!

    Hi @JakesJan 

     

    Here is an example:

     

    DamoBird365_0-1641409972685.png

     

    The expression you want to use is :

     

    formatDateTime(utcnow(),'dd.MM.yyyy')

     

    US format 😁 formatDateTime(utcnow(),'MM.dd.yyyy')

     

    Please consider accepting my answer as a solution if it helps to solve your problem.

    Cheers
    Damien

    Please take a look and subscribe to my YouTube Channel for more Power Platform ideas and concepts, or take a look at my website. Thanks

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,636

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,942

Leaderboard

Featured topics