Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

Default value of a gallery does not always update when the gallery is re-filled

Hi folks. I have two galleries, Gallery1 and Gallery2. 

Gallery2 is filled according to the value selected on Gallery1 (basically, you select one Application from the list in Gallery1, and you get the detail of that Application on Gallery2).

The "Items" property of my Gallery2 is the following:


It filters from the AppDetail$ table only the values were AppDetail$.ApplicationName = the selected value of Gallery1. Quite easy, isn't it? 

Let me also highlight that the Gallery2.Default property is empty. 

Well: when I click on the items listed on Gallery1, the Gallery2 content is CORRECTLY refreshed. No issues with that.
The point is that SOMETIMES the first item of Gallery2 is automatically selected, SOMETIMES it is not! 

I am getting crazy with this issue. 

I have found a workaround: if I add a "Refresh('[dbo].[AppDetail$]')" to the OnSelect property of Gallery1, the Gallery2 gets its first item automatically selected, every time. 
But I don't like it, as it reloads data from the DB! I'd like to avoid... useless operations on the DB 🙂

Thanks everybody in advance! 

Helpful resources


Power Apps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Power Platform World Tour

Find out where you can attend!

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Difinity Conference

The largest Power BI, Power Platform, and Data conference in New Zealand

Top Kudoed Authors (Last 30 Days)
Users online (3,827)