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 on datatable or...
Power Apps
Answered

Filter on datatable or Datasource

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi,

 

How can I filter the datatable, I want only show the 1 - 20 records of my datasource I already try this  CountRows('FinalDataSource') <= 20 but it shows nothing.

 

Thanks!

 

best regards

Boynogs

 

1234.PNG

123.PNG

1234.PNG
123.PNG
Categories:
I have the same question (0)
  • Verified answer
    Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Anonymous 

     

    You need to use FirstN method:

     

    FirstN(Sort(Filter(...)), 20)

     

     

    FirstNTable , 20 )

     

    you can refer to 

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

     

    Thanks.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @Anonymous ,

     

    Thank you Smiley Happy

     

    Do know how to make it like pagination?

     

    Thank you!

     

    Best Regards,

    Bernard

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
Haque Profile Picture

Haque 94

#2
WarrenBelz Profile Picture

WarrenBelz 82 Most Valuable Professional

#3
Kalathiya Profile Picture

Kalathiya 38 Super User 2026 Season 1

Last 30 days Overall leaderboard