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 / GalleryList Refresh no...
Power Apps
Unanswered

GalleryList Refresh not working

(0) ShareShare
ReportReport
Posted on by 37

Hi. Thanks in advance for any help!

 

I have a gallery list and a display form on one screen and an edit form on a second screen.  I cant get my gallery to update after a new record is added.  I added a refresh(table1), my data source, to my submit button on the second screen.  Ive also tried adding it to the the "OnVisible" field on my first screen but I cant get the Gallery to update.

 

Immediatly after I add the record, the gallery is accurate and the record in dropbox is accurate but when I restart the app the record is still in the dropbox excel sheet but not in the gallery.  My gallery is set to:

If(TextInput1.Text="",Sort(Table1,Full_Name),Search(Table1,TextInput1.Text,"Full_Name"))

Manually refreshing the data source doesnt work either. I can edit fine but new records dont show up in gallery.

 

Thanks again,

Matt

Categories:
  • v-yamao-msft Profile Picture
    Microsoft Employee on at

    Hi mattfiu,

     

    I create an app based on Excel table, and set the Gallery’s Item property with the function you mentioned.


    When a new record is created, it will be updated on the gallery directly. I don’t need to refresh the data source.

     

    Please also try if this code will work for you:
    Gallery1.Items = Sort( If( IsBlank(TextSearchBox1.Text),
    Assets,
    Filter( Assets,
    TextSearchBox1.Text in Text(ApproverEmail) ) ),
    ApproverEmail,
    If(SortDescending1, Descending, Ascending) )

     

     

    Best regards,
    Mabel Mao

  • mattfiu Profile Picture
    37 on at

    My problem is that the gallery is correct UNTIL I refresh the datasource in any way.  Then the gallery shows edits but not new records.  Meaning even if i dont Refresh() the source, if I just close the app and open it again, the gallery is wrong but the spreadsheet is right.  The Gallery only shows edits, not new records.  

    I will try your filtering method but the problem persists even when I just use Sort(Datasource,Column)

     

    Thanks for the response!
    Matt

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard