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 stoped wo...
Power Apps
Unanswered

ClearCollect stoped working

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Dear all,

 

I have a canvas app that has different ClearCollect performed onStart and on Screen Visible. Everything was working just fine a 2-3 days ago. Now as it seems the screen is loaded but my collections are empty. Does anybody have an idea what can be the reason for this? Is it due to a configuration in the settings maybe I did wrong or is it a power apps new bug?

 

Thank you for your answers and help!

Categories:
I have the same question (0)
  • RandyHayes Profile Picture
    76,299 Super User 2024 Season 1 on at

    @Anonymous 

    Can you provide a formula you are using that is a problem and perhaps a screenshot of what you are seeing in the collection viewer?

  • Nogueira1306 Profile Picture
    7,390 Super User 2024 Season 1 on at

    I dont believe that it is a new bug...

    Check the datasource.. Did you changes places or something?
    Update the datasource

     

    If you need additional help please tag me in your reply and please like my reply.
    If my reply provided you with a solution, pleased mark it as a solution ✔️!

    Best regards,
    Gonçalo Nogueira

    Check my LinkedIn!

    Check my User Group (pt-PT)!

    Last Post on Community

    My website!

  • AndrewCitera Profile Picture
    58 on at

    We're been experiencing issues with functionality that worked without issues prior to 1/17. I believe there are some regressions in the 3.21123.25 release. Our problem has been with nested gallery views.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    @RandyHayes here is the simplest example that stopped working:

    app start: OnStart I have 

    ClearCollect(
    LocalMenu,
    {Name:"Home", Navigate:HOME_SCREEN, ImageSelected: HomeSelected, Image: HomeNotSelected },
    {Name:"Invoices", Navigate:If(varIsManager,INVOICE_SCREEN_MNGR,INVOICE_SCREEN), ImageSelected: InvoiceSelected,Image: InvoiceNotSelected}
    );

     

    Then in the screen I display the gallery (it is my menu) in which the template size is with the formula

    Parent.Width / CountRows(Self.AllItems)

     

    If I play the app from the player ->no issue

    If I open the app from the browser I got error division by zero for this gallery.

     

    This was working, before the last update.

     

  • AndrewCitera Profile Picture
    58 on at

    Wow Deni! We are experiencing a similar error - dynamic gallery height working in studio and not in the published version. @RandyHayes @Anonymous do you know how to report a bug to Microsoft? 

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Hi @AndrewCitera yes, you are right! But for me the problem is not only there. But maybe yes, it is more related to galleries and collections then the onvisible/on start screen.

    About the MS ticket, normally you can send it from power platform admin center:
    Here are the steps

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard