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 Apps / Get the most recent IT...
Power Apps
Unanswered

Get the most recent ITEMS in my sharepoint list

(0) ShareShare
ReportReport
Posted on by 165

Hello, developers!

I have created a flow and what I need is my 'Get Items' to get the most recent ITEMS. 

There are new items added to my sharepoint list from time to time.

There are instances that only 1 item is added to my sharepoint list, but most of the time, there are 2 or more.

 

Hoping you can help me on this one. I can't seem to find anything on the internet to solve my problem. Thank you very much.

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @_maaaaavs_

    FirstN(Sort(yourlist, ID, Descending),5)

  • _maaaaavs_ Profile Picture
    165 on at

    Hello! Where should I put it? Under Filter Query?

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @_maaaaavs_

    To display the results, use it as the items property of a gallery or datatable. In the formula, it will provide a table of the most recent 5 records but you can set the number for as many as you want. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Apps

#1
wolenberg_ Profile Picture

wolenberg_ 119 Super User 2026 Season 1

#2
WarrenBelz Profile Picture

WarrenBelz 107 Most Valuable Professional

#3
Haque Profile Picture

Haque 103

Last 30 days Overall leaderboard