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 🙂