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 / Not being able to view...
Power Apps
Answered

Not being able to view form based on a selected Item in a nested gallery (a vertical galley inside a horizontal gallery)

(0) ShareShare
ReportReport
Posted on by 21

I have the following formula in the Item of the form:

 

LookUp(
CLSHoshin2023Initatives,
ID = OverallHorizentalGallery.Selected.ProgramsPerCategoryGallery.Selected.ID
)

 

CLSHoshin2023Initatives is my data source.

 

OverallHorizentalGallery is my outer gallery.

 

ProgramsPerCategoryGallery is the vertical gallery where I select an item from there.

 

The Items in my OveralHorizentalGalley are: (which works fine)

 

Table({ColName: "1. Customer centricity"},{ColName: "2. Differentiated offers"},{ColName: "3. Growth for sustainability"},{ColName: "4. Digitalization"},{ColName: "5. Great place to work"},{ColName: "6. Growth Projects"})

 

The Items in my inner Vertical Galley are: (Which works fine)

 

SortByColumns(AddColumns(Filter(
CLSHoshin2023Initatives,
FiveFrontierStrategy.Value = ThisItem.ColName
),"MyLeader",Concat(Leader.DisplayName,DisplayName)),"MyLeader",Ascending)

 

Please let me know how I can correct my formula for the Item in the form.

 

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

    Hi @MandanaDorrer ,

    Set a Variable OnSelect of ProgramsPerCategoryGallery.

    Set(
     gblCatID,
     ThisItem.ID
    )

    then your Form Item

    LookUp(
     CLSHoshin2023Initatives,
     ID = gblCatID
    )

     

    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

     

  • MandanaDorrer Profile Picture
    21 on at

    @WarrenBelz 

    MandanaDorrer_0-1674612238025.pngMandanaDorrer_1-1674612289152.png

    Sadly still does not return anything in the form. It says No Item to Display 😞

  • WarrenBelz Profile Picture
    156,969 Most Valuable Professional on at

    @MandanaDorrer ,

    Did you look in gblCatID to see if there is a value in there ? - you may be selecting a gallery element without an OnSelect on it.

  • MandanaDorrer Profile Picture
    21 on at

    @WarrenBelz Thank you so much for looking into this. It means a lot to me!

     

    Indeed gblCatID did not return any value.

     

    I used your concept but in the OnSelect of the icon in the gallery. It worked: 

     

    Navigate(ProgramReportScreen,None,{SelectedID:ProgramsPerCategoryGallery.Selected.ID}); ViewForm(ProgramReportForm)

     

    In the Item section of the form I have: LookUp(CLSHoshin2023Initatives, ID=SelectedID)

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

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 220 Super User 2026 Season 2

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 139

Last 30 days Overall leaderboard