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

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Nested Gallery and rec...
Power Apps
Unanswered

Nested Gallery and recursive SharePoint list

(0) ShareShare
ReportReport
Posted on by 4

I'm experimenting with a recursive SharePoint List in PowerApps of People in an organization with a "ReportsTo" column.  I'm starting with two levels when deployed might go to 3.  One thing I was trying to do was access info from the selected record in the sub-gallery. 

In the attached picture I'm keeping it simple, just pulling the first name of selected item in the sub-gallery of the selected main gallery.  This doesn't work unless I also put a label in the main gallery pulling the first name (or actually any data) from the selected item in it's instance of the sub gallery.

 

The code is as follows in the label that is referencing the sub-gallery:

Gallery2.Selected.Gallery4.Selected.first

 

In the picture you can see the filter command for the two galleries.

It doesn't give me an error, but it does not work, unless I put a label in the main gallery pulling something from the sub-gallery.

 

Any thoughts?

Rick

Categories:
I have the same question (0)
  • BrianS Profile Picture
    2,407 Super User 2024 Season 1 on at
    Re: Nested Gallery and recursive SharePoint list

    I'm having a little trouble seeing what you are actually doing, but I think it all boils down to how you get PowerApps to pull the correct data. I would watch this video by Daniel Christian - I think it will answer your question.

    https://www.youtube.com/watch?v=EnBpWBb51hs

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 757 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 322 Super User 2025 Season 2

#3
MS.Ragavendar Profile Picture

MS.Ragavendar 209 Super User 2025 Season 2

Last 30 days Overall leaderboard