I am having a strange issue with a gallery that is the main/first screen presented when the app is opened.
The issue is this:
1) Sharepoint list with existing data - many attributes, but there is a uid number field used as the primary key.
2) The UID is used to lookup an image from a sharepoint document library.
3) When the app is opened, the first row of data has the ThisItem.uid set to null: well, Len( Text( ThisItem.uid ) ) = 0. Other attributes - text attributes are set and display correctly.
In the image below, I created a text box to debug and... when opened, first record is selected ( by default by powerapps ), but the uid and therefore the lookup is empty.

After I select another record of the gallery the uid and lookup fill.

The image display uses the lookup to display the correct image in the gallery. It appears the image is only actually looked up on screen initialize because after selecting another row, the image in row 1 is still blank - even when the lookup value is filled.
I've also tried sorting DESC since the first uid = 0, but I still get the same issue. The first record will be blank until another is selected.

A final note, I tried wrapping ThisItem.uid in Text( ) and same result. It seems ThisItem is handled as text, but I'm unsure.
Hopefully this is something easy - but I'm fairly baffled?!