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, 1st It...
Power Apps
Answered

Nested Gallery, 1st Item not displaying sub gallery items

(0) ShareShare
ReportReport
Posted on by 19

Hi,

 

So I have an issue with nested Galleries, the top level gallery (Contracts) has a sub gallery (References) for each item (contract).

In the first top level item (contract) the sub gallery (references) always shows no items, for every subsequent item (contract) the sub gallery works properly (showing the references).

 

This happens always to the first item in the top gallery, regardless of sorting, I've checked my gallery items filter and its working properly (checked via text box within the contract item showing the count of references), just the gallery doesnt work.

 

Screenshot 1: Showing contract 1 having no items listed
Ascending Sort.png

Screenshot 2: Showing contract 2 having no items listed

Descending Sort.png

Categories:
  • v-micsh-msft Profile Picture
    Microsoft Employee on at

    Hi @ShaneCluning,

     

    Thanks for the feedabck.

    Issue confirmed from my side.

    I will help collect this, and if I got any response, I will post back.

    In addition, as a workaround, would it be available for you to switch to the other controls such as dropdown, or list box?

    Regards,

    Michael

  • Verified answer
    SpencerLynn Profile Picture
    Microsoft Employee on at

    Hi @ShaneCluning,
     
    We are aware of the issue and are working on a fix for this issue.
     
    As a work around, can you try to wrap the gallery (the one that isn't rendering the first item) items using the FirstN function?

     

    FirstN(<CurrentItems>, <MaxExpectedItems>) 

     

  • ShaneCluning Profile Picture
    19 on at

    Hi SpencerLynn,

     

    Wrapping the Filter inside of a FirstN seems to solve the problem for now 🙂 Thanks for the heads up.

     

    Cheers,

    Shane

     

  • JRaasumaa Profile Picture
    1,325 on at

    I just hit this issue too and it's a show stopper for us on a bunch of data gathering. Any update as to why this is happening? 

     

     

    edit: I tried wrapping the sub gallery filter with a FirstN and it did show the first set of results. 

  • janewald Profile Picture
    8 on at

    Hi, I have got the same issue. In the web editor, the items of the inner gallery belonging to the first item of the outer gallery are only displayed sometimes. Is there still no other workaround than using FirstN and CountRows?

  • janewald Profile Picture
    8 on at

    Actually, I have just tried the FirstN solution and it does not work for me when working with a data source like Excel Online. As soon as I work with the exact same data from gallery, it works again. This needs to be fixes

  • lknudson Profile Picture
    102 on at

    This issue shows "solved".  A work-around is not really a solution, particularly when the work-around requires using a 'non-delegable' function.  I hope a real solution is still being pursued.

  • Tim78 Profile Picture
    26 on at

    Just hit this issue too. I can't say the issue is solved but the work around got me past it.

  • MrSchu02 Profile Picture
    32 on at

    Hello,

     

    Is this still the best workaround for the issue? I am addressing delegation within my app and FirstN is a non-delegable function.

     

    Thanks

  • Ronak83garg Profile Picture
    117 on at

    Has there been any update on the issue, as i am not able to make it work with the FirstN function also ?

     

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 402 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 296 Most Valuable Professional

Last 30 days Overall leaderboard