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 gallery by gallery
Power Apps
Suggested Answer

filter gallery by gallery

(0) ShareShare
ReportReport
Posted on by 82
Hi
I have 2 galleries linked to 2 different SP Lists. In the app the user selects a provider from a dropdown. This then filters the 1st gallery to show the clients that provider bid on. Data in List 1.
I want the 2nd gallery to display the client data, which is in the 2nd List. I want it to match up like below.
 
 
The 1st gallery will always have multiple lines/results. The 2nd gallery should show 1 line for each line in gallery 1.
I can only get the top line to work. This is the code I’m using
 
Filter(
    'Client input',
    Title = GalleryRFP.Selected.Title
)
 
Any advice would be helpful. Thanks
 
Categories:
I have the same question (0)
  • Suggested answer
    mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at
    hey ;)
     
     
    can u try this code please:
    ForAll(
        GalleryRFP.AllItems, 
        Filter('Client input', Title = ThisRecord.Title)
    )
    
    if it helped please mark as verifies answer,
     
     
    cheers
  • Cosan Profile Picture
    82 on at
    Hi mmbr1606
     
    When I try that code the labels in gallery2 don't work because it doesn't recongise where its being directed.
    Gallery 1 = GalleryRFP and List 1 = RFP
    Gallery 2 = Gallery_client and List 2 = 'Client input'
     
    With your code it seems to think the source data is RFP. It should be source 'Client input' sorted by GalleryRFP.
    Thanks
  • mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at
    hey
     
    thanks for trying and the reply,
     
     
    can u try this modification:
    Filter(
        'Client input',
        Title in GalleryRFP.AllItems.Title
    )
    
    cheers
  • Cosan Profile Picture
    82 on at
    Hi mmbr1606
     
    Same problem as 1st time. Its only working for the top line
     
     
  • mmbr1606 Profile Picture
    14,629 Super User 2026 Season 1 on at
    what you can also try is to work with collections just like:
    ClearCollect(
        colClientTitles, 
        GalleryRFP.AllItems.Title
    )
    
    and then filter that:
    Filter(
        'Client input',
        Title in colClientTitles
    )
    
    you just would need to find the right place for the collection, maybe in the onselct of the dropdown,
     
     
    if it helpled please mark as verified,
     
     
    thanks

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 342 Most Valuable Professional

#2
11manish Profile Picture

11manish 234

#3
Valantis Profile Picture

Valantis 187

Last 30 days Overall leaderboard