web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : wUFmALgX2uFcxWyiFUqjfX
Power Automate - Building Flows
Answered

filtering sharepoint document library to latest uploads

Like (0) ShareShare
ReportReport
Posted on 24 Jun 2020 16:42:38 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!! 🙂

I have the same question (0)
  • Community Power Platform Member Profile Picture
    on 24 Jun 2020 at 20:01:10
    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 24 Jun 2020 at 17:26:21
    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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

MS.Ragavendar – Community Spotlight

We are honored to recognize Ragavendar Swaminatha Subramanian as our September…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 854 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 525 Moderator

#3
trice602 Profile Picture

trice602 318 Super User 2025 Season 2

Last 30 days Overall leaderboard
Loading complete