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 Apps
Unanswered

Nested gallery

(0) ShareShare
ReportReport
Posted on by

Hello,

I want to create a nested gallery. I have two sharePointlist, YearPlan and ActivityPlan. There can be multiple YearPlans for companys containing multiple activityplans.

 

List1 (YearPlan)  PlanID, HumanResoutces, ITResources, Techresource

List2 (ActivityPlan) PlanID, Category, Category2, Indicator

 How do I set up the filtering ? on the nested Gallery

First gallery I suppose the Items would be YearPlan

In the nested gallery it should be somthing like

Filter(YearPlan;ThisItem.Title in ActivityPlan.Title)

But this only show the items of the first list.

Can anybody please help me ?

 

Categories:
I have the same question (0)
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @vidarv

    GroupBy(Activity Plan, "PlanID", "Data"). Put a subgallery inside with items: ThisItem.DATA

    Add labels in main gallery like

    LookUp(YearPlan, ID=ThisItem.PlanID, HumanResources) 

  • vidarv Profile Picture
    on at

    @Drrickryp Thank you for answering. When i use the lookup command I got incompatible type for compare. Can not compare number table

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @vidarv

    The outer gallery has PlanID exposed. If you have done it correctly, LookUp(YearPlan, ID=ThisItem.PlanID).columninYearPlan does not involve another table. 

  • vidarv Profile Picture
    on at

    Hi @Drrickryp 

    The Items in the outer gallery are set to 

    GroupBy(ActivityPlan;"Title";"Data")

    Title =since this is the first coloumn
    I can find all the coloumns by dooing the lookup but i still got incompatible types
    All the fields in the sharepoint list are text.

    LookUp(YearPlan,ID=ThisItem.Title).Manager 

     Since this will be the approval center in  Powerapps. As a workaround. The outer first gallery are showd as

    Distinct(YearPlan,Title)

    And the nested gallery as

    Filter(YearPlan,Title=ThisItem.Value)

    I have then filtered the status as Evaluation on both the nested gallery..

    Both nested gallerys are then only showing the posts that have status evaluation.

    But a cleaner solution would be only one gallery with a nested one.

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
WarrenBelz Profile Picture

WarrenBelz 356 Most Valuable Professional

#2
11manish Profile Picture

11manish 225 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 211

Last 30 days Overall leaderboard