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 / ClearCollect "0 rows c...
Power Apps
Unanswered

ClearCollect "0 rows collected." while preview return first 5 rows correctly

(0) ShareShare
ReportReport
Posted on by Microsoft Employee
I am troubleshooting an existing App that is running well a year ago but not working recently.
On App.OnStart, it runs:
ClearCollect(AdminCollection, 'AppAdmin');
 
'AppAdmin' is a datasource which is pointing to a SharePoint online list.
In App studio, I clicked on "File" -> "Collection" the AdminCollection is listing the first 5 rows correctly.
However, when test with monitor tool, on AppStart it returns "Success" result with info = "0 rows collected."
 
In fact, there is no item in AdminCollection. What could be the cause of problem? I am using a user that is able to edit the sharepoint list 'AppAdmin'.
Categories:
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @Anonymous 

    To troubleshoot this, move the ClearCollect(...to the OnVisible of the first screen in your app and see if it works.

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 381 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 340

#3
WarrenBelz Profile Picture

WarrenBelz 187 Most Valuable Professional

Last 30 days Overall leaderboard