Announcements
Hi all,
I have a gallery in power app. I want to display details and I put Select(Parent) in OnSelect property. But it is showing only the first item details even though I choose other items. This is the first time I encountered this issue. I did the same way as other galleries but there was no issue. Please help me. Thanks.
Hi @Thura ,
Select(Parent) on a gallery component (such as your icon) simply runs whatever code is on the OnSelect of the gallery itself. What code do you have on there?
Hi @WarrenBelz,
There is only Select(Parent) on a gallery component (arrow icon) as shown in above picture. It works but it shows details of the first item only even though I select other items. It keeps showing details of first item. I don't know what is the root cause of that. But there is no issue in other gallery. Only this one is showing like this.
@Thura ,
I meant what is the code OnSelect of the Gallery (not the icon) - there has to be something there for it to show the item.
@WarrenBelz ,
Just only Navigate is there.
Then what is the Item of your Form?
@WarrenBelz
The below code is at the Item of the gallery.
DropColumns(SortByColumns(AddColumns(Search(DataSource, TextSearchBox.Text, ColumnName),"_sortOrder",Switch(ColumnName.Value,"SCCM",1,"DRM",2,"Telius",3,4)),"_sortOrder",Ascending),"_sortOrder")
I meant the Item of the Form you are navigating to for displaying the record
Thank you. I just found out that the gallery in the Item of the Form is wrong. The issue is solved.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
WarrenBelz 421 Most Valuable Professional
11manish 153 Super User 2026 Season 2
MS.Ragavendar 116 Super User 2026 Season 2