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 / 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

2022-01-05_20-21-07.png
Categories:
  • BrianS Profile Picture
    2,407 Super User 2024 Season 1 on at

    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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 226 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 191 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 167

Last 30 days Overall leaderboard