Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

filtering sharepoint document library to latest uploads

(0) ShareShare
ReportReport
Posted on by

Hey community!

 

I've got a few Flows under my belt, but I'm struggling getting the correct output when trying to filter a document library down to the latest uploads from the last week. What I'm trying to accomplish is very similar to this post, but my filter array output is still blank:

 

https://powerusers.microsoft.com/t5/Building-Flows/Weekly-email-digest-new-items-in-SPO-list/m-p/293528

 

I've tried all manner of changing the filter parameters and my output is blank every time. 

 

I know I am getting an output from the Get files step, and my document library is less than the 5000 item threshold. I don't see any option to throttle the number of items returned outside the "Top Count", so I assume it is grabbing them all.

 

Annotation 2020-06-24 085930.jpg

 

Thanks for the help!! 🙂

  • Community Power Platform Member Profile Picture
    on at
    Re: filtering sharepoint document library to latest uploads

    Thanks! Yes, that worked well. Now to get the output in an HTML format that's readable, but probably warrants another topic post. 🙂

  • Verified answer
    ScottShearer Profile Picture
    25,236 Most Valuable Professional on at
    Re: filtering sharepoint document library to latest uploads

    @Anonymous 

    I suspect that your issue is your date format - it should probably be yyyy-MM-dd.

    That said, a much better way to approach this is to use a Filter query in you Get files (properties only) action.  See my example below.  The expression that I used can be seen in the action comments.  Also, note the single quotes around the expression in my query.

    image.png

     

     

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

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 1

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 1