cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
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
Anonymous
Not applicable

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
Anonymous
Not applicable

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

Anonymous
Not applicable

Hi @Anonymous ,

 

Thank you Smiley Happy

 

Do know how to make it like pagination?

 

Thank you!

 

Best Regards,

Bernard

Helpful resources

Announcements
PA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

Power Query PA Forum 768x460.png

Check it out!

Did you know that you can visit the Power Query Forum in Power BI and now Power Apps

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Solution Authors
Top Kudoed Authors
Users online (2,991)