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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / 'Phantom collections' ...
Power Apps
Unanswered

'Phantom collections' in Powerapps?

(0) ShareShare
ReportReport
Posted on by

The collections in the attached screengrab seem to be generated in my app on startup. However, there is no Onstart() code. 

 

In particular, the UserCompare collection (4th from top) is not used or generated anywhere in the app as far as I know. 

 

Is there any way to get rid of this collection, or search for what is generating it? 

 

Thanks!

Categories:
I have the same question (0)
  • timl Profile Picture
    36,383 Super User 2025 Season 2 on at

    Hi @Anonymous 

    Unfortunately, there isn't an easy way to search through code. There's a post here in the ideas forum that you can vote on.

    https://powerusers.microsoft.com/t5/Power-Apps-Ideas/Ability-to-search-code/idi-p/31380 

    I imagine there must be some place in your app where you're calling ClearCollect or Collect to create the UserCompare collection.

    Presumably, you've already checked the OnVisible property of your first screen? Whilst you're checking your app, it might be worth extending the height of the formula bar to make sure that there aren't any calls to ClearCollect that exist on subsequent lines of a formula.

     

     

  • v-monli-msft Profile Picture
    on at

    Hi @Anonymous ,

     

    Check on formulas in the action property of your controls. Like OnSelect/OnVisible/OnChange .etc.

     

    Regards,

    Mona

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 796 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 327 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard