cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
ShaneCluning
Frequent Visitor

Nested Gallery, 1st Item not displaying sub gallery items

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

1 ACCEPTED SOLUTION

Accepted Solutions
SpencerLynn
Power Apps
Power Apps

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

 

View solution in original post

9 REPLIES 9
v-micsh-msft
Community Support
Community Support

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

Community Support Team _ Michael Shao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
SpencerLynn
Power Apps
Power Apps

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

 

Hi SpencerLynn,

 

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

 

Cheers,

Shane

 

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
Frequent Visitor

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?

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

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
Frequent Visitor

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

MrSchu02
Frequent Visitor

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

Helpful resources

Announcements
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

PA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

This training provides practical hands-on experience in creating Power Apps solutions in a full-day of instructor-led App creation workshop.

PA.JPG

New Release Planning Portal (Preview)

Check out our new release planning portal, an interactive way to plan and prepare for upcoming features in Power Platform.

Top Solution Authors
Users online (2,352)