Showing results for 
Search instead for 
Did you mean: 
Helper I
Helper I

How to limit number of items in gallery with slider

Dear Team,

I have a browse gallery to display items from sharepoint.  (this gallery is created by Powerapps). This has a text box to search.  I have placed a slider over the gallery (as shown in the picture attached).  I have also set the max value of slider to the total number of records retrieved from sharepoint, into gallery. 


my question is: how can I reduce the number of items displayed in the gallery based on the value of Slider. ( I mean to say, if I decrease the value of slider to 10, gallery should show only ten, if I increase the number to 25, it should show 25 items only)


Please help.

with regards

Repath Athyala.


@WarrenBelz  This solution with Firstn function will work on gallery items > 100?

I have limit 100 items in gallery (rest of the items are loaded when I scroll to bottom) and Mastercheckbox which will set all checkboxes near items to true, then on a button I've created collection which is fitlered by checkbox value = true, but only retrieved 100 items to collection (instead of 465 I had in gallery) 

@Z_Lukowski ,

This is an old closed post. Can you please create a new one with your specific issue.

Helpful resources

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

Microsoft Build 768x460.png

Microsoft Build is May 24-26. Have you registered yet?

Come together to explore latest innovations in code and application development—and gain insights from experts from around the world.

May UG Leader Call Carousel 768x460.png

What difference can a User Group make for you?

At the monthly call, connect with other leaders and find out how community makes your experience even better.

Top Solution Authors
Top Kudoed Authors
Users online (1,293)