web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / First Item in Gallery ...
Power Apps
Answered

First Item in Gallery not displaying in App unless Edit screen is opened and closed again

(0) ShareShare
ReportReport
Posted on by 233

In my mobile and PC app the first item in any gallery will display blank until I open and close the Edit screen.

When I open the app in edit mode on my PC the galleries work properly.

Any help is appreciated.

Categories:
  • eka24 Profile Picture
    20,925 on at

    What formula do you have in the Items property of the Gallery. 

    Also do you have any formula OnVisible of the Edit Screen?

    ------------

    If you like this post, give a Thumbs up. Where it solved your request, Mark it as a Solution to enable other users find it.

    Consider Checking My Youtube Channel

     

  • awalker Profile Picture
    233 on at

    There is nothing in the OnVisible property of the Edit Screen.

    In the Items property of the Gallery I have a version of this:

     

    If(IsBlank(TextInput5), SortByColumns(colMileageLog, "Date", If(SortDescending1, Ascending, Descending)),
    SortByColumns(Filter(colMileageLog, StartsWith(BusinessPurpose, TextInput5.Text)
    Or BusinessPurpose = TextInput5.Text
    Or BusinessPurpose in TextInput5.Text
    Or Date = Value(TextInput5.Text)),
    "Date", If(SortDescending1, Ascending, Descending)))

     

    The app works with collections that can be synced to sharepoint if wifi connection is established.

     

     

  • awalker Profile Picture
    233 on at

    This is a recent issue. I've been using the app for over a year now and this didn't start until about a week ago. I don't think anything changed in the way of formulas or functions on those screens prior to this happening. 

  • awalker Profile Picture
    233 on at

    This is still an issue. Any troubleshooting ideas would be greatly appreciated.

  • mike-beckett Profile Picture
    on at

    Has anyone found out anything about the "first gallery item issue"? I've has this problem for years, where the first gallery item shows properly temporarily, then gets replaced with nothing. My html text is there, but no values.

     

    If the list is re-filtered for any reason, it shows up properly.

     

    This has been happening for several years over 3 apps. This is like the Powerapps Studio buggy undo function: it will be ignored until people just stop complaining about it. Don't expect this to be fixed; it's been broken for years.

  • Verified answer
    awalker Profile Picture
    233 on at

    After playing around some more today I found a unused variable in the icon opens/navigates to the screen with the gallery.

     

    InkedGalleryItem 1_LI.jpg

     

    I removed the unused variable and it fixed the issue - for now. The variable had nothing to do with the gallery or anything on the screen that contains the gallery. But it seems to have caused the first item returning empty initially. Oddly enough - that variable has been there for almost a year but only recently started causing this issue. 

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 396 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 323

#3
WarrenBelz Profile Picture

WarrenBelz 193 Most Valuable Professional

Last 30 days Overall leaderboard