When I exit the Power App altogether, does any collection get deleted altogether?
There seems to be something that's happening in which a collection keeps using the name of another collection.
In the below example, the SumOfUsage is from a Filtered SharePoint List in which a field is set up as 'Order Number'.
However, when I create a new collection called CleanUsage, I noticed that even if I use a new naming convention of
RecordType: "Usage,"
OrderNumber: SumOfUsage[@'Order Number'],
some times PowerApps converts it to this
RecordType: "Usage",
'Order Number': SumOfUsage[@'Order Number'],

This results in some funny behavior in the 'CleanUsage' collection in which I get 2 fields of 'Order Number' and OrderNumber.
I thought when I use the assignment of the field name that it should just use that new naming convention that in a new collection?
Maybe the collection isn't being cleared when the app closes?