web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Limit rows in Collecti...
Power Apps
Answered

Limit rows in Collection by dropdown

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi all.

 

Im currently using the following code to create a collection, which is working perfectly.

Filter(mySolution88,'D LOCATION' = Dropdown3.Selected.Value)

I am trying to limit the amount of rows created in this collection by the selection in a dropdown. My dropdown1 has 5,10,25 and 50 in it.

 

Thanks for any help!

Chris

Categories:
  • Verified answer
    Pstork1 Profile Picture
    69,665 Most Valuable Professional on at

    Put a FirstN() around the Filter()

    FirstN(Filter(mySolution88,'D LOCATION' = Dropdown3.Selected.Value),5)
  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Thats perfect, thank you very much!

    Chris

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard