Am I correct in understanding that you want to do is to drop the Collection (if I may use an SQLism), and you're being told how to delete rows within the collection?
I'd also be very happy to know how to drop a Collection as well.
To remove a collection from Power Apps you must clear the collection, this can be done via exiting or using Clear(CollectionName), you must then remove any references to it.
Once all the references to a collection have been removed the collection will disappear from your app.
I had collection stuck in an app once that was collecting images, I found that I had accidently placed a collect on the OnVisible property for a screen I had duplicated a few times, very annoying.
I left the suggestion below on the Ideas area of this site.
Please let me know your views; and if you approve of the general idea, feel free to vote it up.
Oh my god, this is so hilarious. You have to be kidding me right? You have to back your way out of any and all references to remove a collection? No way to do it directly? Unbelievable. We shouldn't have to add this request to any wish list. Who's running the developer crew for this app?
Not only that, but this relatively trivial request has gone over a year and a half without being addressed. WOW!
There is no way to dynamically remove a collection like you would with a call to free() in C++ or DROP TABLE in SQL, so long as the reference is in the code, it stays. The best you can do is to use the clear() function to at least shrink the memory footprint the app uses. Granted, the memory restraints nowadays in cloud computing is quite minimal so I guess they figure, why bother with such a call.
Featuring samples like Return to the Workplace and Emergency Response Applications
We're excited to announce our first cross-community 'Can You Solve These?' challenge!
Reopen responsibly, monitor intelligently, and protect continuously with solutions for a safer work environment.
We are excited for the next Super User season.
Features releasing from October 2020 through March 2021