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 / Collection not collect...
Power Apps
Unanswered

Collection not collecting all rows

(0) ShareShare
ReportReport
Posted on by

Hello everybody

I'm beginner in Power Apps, and i'm creating an app using a library documents form Sharepoint. 

I have to return years of files inside some document library folders (2023, 2022, 2021)

For this, I created a collection in the On Start and merged these collections into one and the files are shown in a gallery.

It is returning ALL files from folders, less than one. There is no error in the path, the code is exactly the same.

 

 

Collect(Files2023; Filter('LibraryName', 'Folder path' = 'text/text/2023/'));
ClearCollection(AllTheYearsFolders; Files2023; Files2022)

 


Just one folder is not returning all the rows. Its like: have 70 files, just return 9. 
where is possibly the error?
(detail: it's less than 1000 lines so it's within the limit)

Categories:
I have the same question (0)

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 534

#2
WarrenBelz Profile Picture

WarrenBelz 416 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 306

Last 30 days Overall leaderboard