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 Apps
Answered

Filter top 10

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi, I need to filter top 10 from my table in app. How can I achieve this?

 

In this example: my gallery should show only till Name "JJ"

 Capture.JPG

 

Categories:
  • Verified answer
    timl Profile Picture
    37,287 Super User 2026 Season 2 on at

    Hi @Anonymous,

     

    The key function that you'll looking for is FirstN. This function returns the top x records from a data source.

     

    https://docs.microsoft.com/en-us/powerapps/functions/function-first-last

     

    You can call this in conjuction with the SortByColumns function to achieve what you're looking for.

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 432 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 347

#3
WarrenBelz Profile Picture

WarrenBelz 254 Most Valuable Professional

Last 30 days Overall leaderboard