Showing results for 
Search instead for 
Did you mean: 
Not applicable

Collection in Production vs. Live

Hi there!


I have an app that is used for Change management. When users input their changes, a collection is built and displayed on a new screen. These changes will be shown in a 'green' filled box. Items that weren't changed will have a 'no fill'.


It's very odd to me that the only instance when this logic doesn't work is the first record of my collection and ONLY occurring in the live environment.


Meanwhile, during production, the first record added (user changed record) in the collection is shown correctly, with the green fill indicator for only the item changed. Whereas in the live, everything is shown as green (i.e. Powerapps understands that all items had a 'change').


Thank you,




Please see photos below:


1) Live environment



2) Production Environment (don't worry about the 'x' there as that's regarding something else unrelated.)




Community Support
Community Support

Hi @Anonymous ,

How do you fill the Text Box within your Gallery? Could you please share more details about the formula?

How do you determine if the Text Input box values have been changed in your app? Compare with the collection?


Based on the needs that you mentioned, I have made a test on my side, please check if the issue is solved. Please also check if the changed values of first record in your collection are different from the original values.


Please set the Fill property of the Text Input box in your Gallery as below:

    ThisItem.ColumnName <> LookUp(YourCollection, PrimaryColumn = ThisItem.PrimaryColumn).ColumnName,
    RGBA(141, 198, 63, 1),
    RGBA(255, 255, 255, 1)

Note: The PrimaryColumn represents the primary column in your data source (the Gallery connects to), which could identify one record uniquely.


Also please consider take a try to turn off the "Improved app rendering (final validation)" option within Advanced settings of App settings of your app, then re-publish your app, check if the issue is solved.


Best regards,

Community Support Team _ Kris Dai
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Not applicable

***EDITTED THE IMAGE PLACEMENT. All Image headings are now correctly referring to their respective pictures.

Thank you for your response Kris. Regarding the answer to your questions, please refer to the first two images attached.


With the current item shown in green, (the change, in this case, "Ministry") there's a reference check against the original (shown as "IO" on the bottom left corner of the item in the gallery). The second image shows this label doing a lookup into my master table.


I've attempted both toggling off the "Improved app rendering (final validation)" and adding the new function but it's not filling properly when an item's been changed (Image 3). Again with this image, the reference (original is shown off to the right as "IO") and the current selection is "Ministry", which results in a green fill correctly. However, if you look to the 2nd item from the right, this item is highlighted in green even though the reference check below it is the same as the "change" made. Please take a look at the formula because I'm not sure I'm doing it correctly. 

Are you referring to Primary Key? I don't believe i can set a primary key/column in my collection either? 


Image 1




Image 2







Not applicable

I've updated the image placement in my last post to correctly reference the image i'm referring to.

Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

365 EduCon 768x460.png

Microsoft 365 EduCon

Join us for two optional days of workshops and a 3-day conference, you can choose from over 130 sessions in multiple tracks and 25 workshops.

Users online (2,369)