cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Regular Visitor

Restrict collection to an amount of items

Hi Team, Can you please help me out, I have created a collection with several inputs and the stored data is being reflected in a gallery. Question: How can I restrict my gallery/collection in PowerApps to an amount of items? For example: Limit the users to only add 10 items

1 ACCEPTED SOLUTION

Accepted Solutions
Super User III
Super User III

It would have helped if you showed you create the collection. However try;

If(CountRows (CollectionName)>10,..…....)

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

View solution in original post

1 REPLY 1
Super User III
Super User III

It would have helped if you showed you create the collection. However try;

If(CountRows (CollectionName)>10,..…....)

------------

If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

View solution in original post

Helpful resources

Announcements
News & Announcements

Community Blog

Stay up tp date on the latest blogs and activities in the community News & Announcements.

Power Apps Community Call

Power Apps Community Call- January

Mark your calendars and join us for the next Power Apps Community Call on January 20th, 8a PST

PP Bootcamp Carousel

Global Power Platform Bootcamp

Dive into the Power Platform stack with hands-on sessions and labs, virtually delivered to you by experts and community leaders.

secondImage

Power Platform Community Conference On Demand

Watch Nick Doelman's session from the 2020 Power Platform Community Conference on demand!

Top Solution Authors
Top Kudoed Authors
Users online (7,620)