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 / Filter Browse Gallery ...
Power Apps
Unanswered

Filter Browse Gallery based on selection in other screens

(0) ShareShare
ReportReport
Posted on by 8

My app is made up of 3 screens:
-I have a Gallery with a list of IDs,
-when one is selected the detail of that ID is shown in the second screen
-In a third screen for that ID I would like to include a table with more details of the ID selected in screen 1 and 2 (it is the same ID).

How could I do it? Could you give me a simple example?
Thanks

Categories:
  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @lasheralberto 

    • You don't need a table. You need a form with the same datasource as the galley and the item property Lookup(datasource, ID=Gallery1.Selected.ID)
  • lasheralberto Profile Picture
    8 on at

    Thanks for the answer, but I think a Datatable is the most convenient way to do this since I got multiple rows for one ID. If I put a form it would only include just one row.

    To put an example: Imagine I got a list of customers. When I select one customer it would navigate to screen2 with the personal information of that customer. If I want to view with more detail all the purchases that my customer made I would go to screen 3 (multiple rows for one ID)

     

     

    Screen1: Logs with all the IDs (BrowseGallery1)

    Screen2: Some details of the ID selected in BrowseGallery1 (screen 1)

    Screen3: More details of the ID selected in BrowseGallery1 (screen 1)

  • lasheralberto Profile Picture
    8 on at

    But I cannot find the way to filter the table in screen 3! Please help !:(

  • Drrickryp Profile Picture
    Super User 2024 Season 1 on at

    @lasheralberto 

    You are describing a one to many relationship. Please see https://powerusers.microsoft.com/t5/Power-Apps-Community-Blog/Relational-Database-Principles-and-PowerApps-Step-3-Keys-and/ba-p/188640 

    And the following blog post on how to implement the relationship in PowerApps.

  • lasheralberto Profile Picture
    8 on at

    I just wanna do it with some Filter function..

    Filter(Tabla2; BrowseGallery1.Selected.'ID'=Tabla2[@ID_2])  

    any suggestion?

  • lasheralberto Profile Picture
    8 on at

    So the problem was a "delegation" problem since my table got more than 2000 rows. However, following some tutorials and reading the documentation in the official site I read that the FIlter function is delegable in SHarePoint. So I placed my file in SHarePoint in a list, I loaded it and when I call it with the filter function the same problem appears. I attached a screenshot. Do you know how to override this problem?

    issuesharepoint.PNG

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

#2
WarrenBelz Profile Picture

WarrenBelz 189 Most Valuable Professional

#3
Mohsin Ali Profile Picture

Mohsin Ali 126

Last 30 days Overall leaderboard