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 / Need help with finding...
Power Apps
Unanswered

Need help with finding matching items/records between 2 datasources

(0) ShareShare
ReportReport
Posted on by 35

Good day,

 

I have 2 galleries with different datasources and would like to filter one of the list to display all matching records. I can manage to show at least one matching record each time using:
Gallery1

 

Filter(
 datasource1,
 'Name' = "John"
 'RowId' = 555555555
)

 


Gallery2

 

Filter(
 datasource2,
 Id = Gallery2.Selected.Id
)

 

Additional information: Datasources are Virtual Tables in Dataverse and the connection between these 2 datasources are Id and in datasource2 I have a lookup column into datasource 1.

The Goal with the project: Select items with checkbox true on Gallery2, where visible items are matching all items on Gallery1, and collect them into collection 'colSelectedItems'. Then on another screen edit selected items using ForAll(Patch()). I got the ForAll(Patch()) working.

Here is the picture that showcases how I am doing this, and what I would like to do is display all matching items on gallery1 to show on gallery 2 for selection.

antonhh_1-1674043275294.png


I know why I am getting only 1 item on gallery 2 but I am not able to show all matching items between gallery1 and 2.


I have tried using lookup, tried using collections and I have hit a wall when it comes to figuring this out. Is there anyone who has dealt with this particular issue and has good advice to resolve it?

Thank you in advance

Categories:

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

#2
M Bilal Khan Profile Picture

M Bilal Khan 330

#3
Mohsin Ali Profile Picture

Mohsin Ali 232

Last 30 days Overall leaderboard