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 / Filter Gallery to only...
Power Apps
Answered

Filter Gallery to only show last 10 entery

(0) ShareShare
ReportReport
Posted on by 97

How would i go about to filter current user and only show last 10 enter items on a SharePoint list I try Chatgpt but no luck.

here formula so it show current user by email

Filter('Snowy Drone Request Data',Email = User().Email)

 

Categories:
I have the same question (0)
  • Verified answer
    realwillwright Profile Picture
    772 Moderator on at

    Hi @David1966 

     

    The following should provide the answer it is taken from First, FirstN, Index, Last, and LastN functions - Power Platform | Microsoft Learn

     

    LastN(
     Sort(
     Filter(
     'Snowy Drone Request Data',
     Email = User().Email
     ),
     "Modified",
     SortOrder.Descending
     ),
     10
    )

     

    I've added a Sort on the data as well so it is sorted by last modified, I may have the sort order the wrong way round so it might need to be Ascending

    -------------------------------------------------------------------
    If I have answered your question, please mark your post as Solved.
    If you like my response, please give it a Thumbs Up.

  • Verified answer
    iAm_ManCat Profile Picture
    18,256 Most Valuable Professional on at

    Heya Will!

     

    I think they mean the 'last ten that were submitted' i.e. the most recent ten, so that should probably be a FirstN rather than a LastN 🙂

     

    Cheers,

    Sancho

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 July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 329 Most Valuable Professional

#2
11manish Profile Picture

11manish 209 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 179

Last 30 days Overall leaderboard