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

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

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.


New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (1,318)