web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / filter gallery by gallery
Power Apps
Unanswered

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,605 Super User 2025 Season 2 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,605 Super User 2025 Season 2 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,605 Super User 2025 Season 2 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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 717 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 329 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard