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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Nested Gallery Loading...
Power Apps
Answered

Nested Gallery Loading Problem

(0) ShareShare
ReportReport
Posted on by 17

Hello,

 

I have a Gallery nested inside another Gallery using the Planner connection. The "parent" gallery consists of all of a user's plans, and the "child" gallery contains all tasks in a bucket with a specific name (reporting).

 

The "child" Gallery Items formula is:

Filter(Planner.ListTasks(ThisItem.id).value, bucketId = bucket_id.text)

This is resulting in errors being generated when the app loads, saying the Planner.ListTasks id is invalid. This makes me think that the "child" gallery is trying to load before the "parent" gallery has loaded?

 

Is there a way to 1) resolve this issue; or, 2) suppress the error message, as the galleries fill in after a few seconds. 

 

Here is what the nested gallery looks like:

 

Capture.PNG

 

Categories:
I have the same question (0)
  • Verified answer
    dinusc Profile Picture
    Microsoft Employee on at

    I would suggest to have a dummy collection with the shape of a single task and set it to the child gallery when the ThisItem.id is empty (or is blank). Some fields in the dummy collection could even be set to something like "Loading..."

  • mwferris Profile Picture
    17 on at

    Thanks, that worked. For anyone else, this was what fixed it:

     

    If(IsEmpty(ThisItem.id), Filter(Temp, title="loading..."),Filter(Planner.ListTasks(ThisItem.id).value, bucketId = bucket_id.Text))

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 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard