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 / Filtering a Gallery Ba...
Power Apps
Answered

Filtering a Gallery Based on the Selection of Another Gallery

(0) ShareShare
ReportReport
Posted on by 40

I have an app which displays all of the room numbers within a facility. When you select a room in the main gallery, you are taken to a details screen relevant to that room number. I have a second gallery within that details screen which I want to display the owners of that area in. Is there a way to filter the details screen gallery, which is taking the user information from a SP multi-select people column based on the room selected on the home page?

 

Here is the current items property of the gallery that I want to filter based on the other gallery.

Choices([@'CB Locations'].Owners)
Categories:
I have the same question (0)
  • Verified answer
    Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @JacksonG - you could apply the below for example onto the Items property of the second Gallery control:

     

    LookUp(
     'CB Locations',
     ID = Gallery1.Selected.ID,
     Owners
    )

     

    And update the Text property of one of the Labels to:

     

    ThisItem.DisplayName

     

  • JacksonG Profile Picture
    40 on at

    You're awesome, Amik. Thank you!

  • JacksonG Profile Picture
    40 on at

    I'm also trying to launch Outlook and compose a new email to the owner that was selected within the gallery. Is that something I can do?

  • Ami K Profile Picture
    15,687 Super User 2024 Season 1 on at

    @JacksonG - sure. You can apply the below for example onto the OnSelect property of the second Gallery control:

     

    Launch("mailto:" & ThisItem.Email)

     

    The following tutorials should also be useful to you:

     

    https://www.youtube.com/watch?v=vpYkOccwn4Y 

     

    https://www.youtube.com/watch?v=GoF3vfP3YTM 

     

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 335 Most Valuable Professional

#2
11manish Profile Picture

11manish 166

#3
sannavajjala87 Profile Picture

sannavajjala87 71 Super User 2026 Season 1

Last 30 days Overall leaderboard