Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

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

Re: Collection in Production vs. Live

Hi @Anthony_To ,

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.
Frequent Visitor

Re: Collection in Production vs. Live

***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







Frequent Visitor

Re: Collection in Production vs. Live

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

Helpful resources

Community Conference

Power Platform Community Conference

Check out the on demand sessions that are available now!

Watch Now

Experience what’s next for Power Apps

See the latest Power Apps innovations, updates, and demos from the Microsoft Business Applications Launch Event.

Power Platform ISV Studio

Power Platform ISV Studio

ISV Studio is designed to become the go-to Power Platform destination for ISV’s to monitor & manage published applications.


Power Platform 2020 release wave 2 plan

Features releasing from October 2020 through March 2021

Tech Marathon

Maratón de Soluciones de Negocio Microsoft

Una semana de contenido con +100 sesiones educativas, consultorios, +10 workshops Premium, Hackaton, EXPO, Networking Hall y mucho más!

Top Solution Authors
Top Kudoed Authors
Users online (7,841)