cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
Anonymous
Not applicable

Filter on datatable or Datasource

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

1 ACCEPTED SOLUTION

Accepted Solutions
Highlighted
Anonymous
Not applicable

Re: Filter on datatable or Datasource

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.

View solution in original post

2 REPLIES 2
Highlighted
Anonymous
Not applicable

Re: Filter on datatable or Datasource

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.

View solution in original post

Highlighted
Anonymous
Not applicable

Re: Filter on datatable or Datasource

Hi @Anonymous ,

 

Thank you Smiley Happy

 

Do know how to make it like pagination?

 

Thank you!

 

Best Regards,

Bernard

Helpful resources

Announcements
Ignite

Microsoft Ignite

This will be a conference that you do not want to miss!

secondImage

New Return to Workplace

Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.

August 2020 CYST Challenge

Check out the winners of the recent 'Can You Solve These?' community challenge!

Experience what’s next for Power Apps

Join us for an in-depth look at the new Power Apps features and capabilities at the free Microsoft Business Applications Launch Event.

Check this Out

Helpful information

Featuring samples like Return to the Workplace and Emergency Response Applications

secondImage

Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Top Solution Authors
Top Kudoed Authors
Users online (3,179)