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 / Pulling data out of ne...
Power Apps
Answered

Pulling data out of nested tables

(0) ShareShare
ReportReport
Posted on by 57

Hello all,


I have two collections of data (collDates: representing seven consecutive days; collRoomList: representing six exam rooms).

 

SteveAtTCH_2-1670952662891.png

 

SteveAtTCH_3-1670952679709.png

 

I'm trying to marry the two into a gallery, something like this:

12/13/2022Exam Room 1D.0910.08
12/13/2022Exam Room 2D.0910.10
12/13/2022Exam Room 3D.0920.07
12/14/2022Exam Room 1D.0910.08
12/14/2022Exam Room 2D.0910.10
12/14/2022Exam Room 3D.0920.07


I think I have the necessary details in the parent collection I've built (although potentially looped incorrectly). This is the formula I'm currently using:

SteveAtTCH_0-1670952199649.png

 

The problem I'm running into is actually getting the nested data out from the collection and into my gallery. I am able to display individual records, but I'm struggling to display the entire collection.

For example, these two values in the items property of my gallery will display single records from the collection (the first and third records respectively):

First(collTableData).Value
Index(collTableData,3).Value

Either of those two formulas display that particular record in the gallery:

SteveAtTCH_4-1670952845494.png


I've tried using a ForAll to cycle through collTableData, but all my efforts always seem to lead back to a collection of tables. 😞

SteveAtTCH_1-1670952422485.png

 

Any suggestions on how I can display the entire collection in my gallery? Thanks in advance! 🙂

Categories:
  • Verified answer
    WarrenBelz Profile Picture
    156,532 Most Valuable Professional on at

    Hi @SteveAtTCH ,

    This blog of mine should assist you here.

     

    Please click Accept as solution if my post helped you solve your issue. This will help others find it more readily. It also closes the item. If the content was useful in other ways, please consider giving it Thumbs Up.

    MVP (Business Applications)   Visit my blog Practical Power Apps

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

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 411 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 338

#3
WarrenBelz Profile Picture

WarrenBelz 256 Most Valuable Professional

Last 30 days Overall leaderboard