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 / DataTable Type Search ...
Power Apps
Unanswered

DataTable Type Search (Foreign Key) Filtering

(0) ShareShare
ReportReport
Posted on by 30

Good Day :),

 

Im currently trying to filter a gallery based on the foreign key which is entered in my table. im using the Typ:Search in the Table. 

 

JanPh_0-1624281925429.png

 

Categories:
  • CNT Profile Picture
    10,921 Super User 2024 Season 1 on at

    @Jan-Ph In the second gallery if you want to show the Project selected in the 1st gallery, the code will be,

    Filter(Table2, ProjectID_ForKey=gallery1.Selected.ProjectID)
  • Jan-Ph Profile Picture
    30 on at

    The data is not in gallerys. They are in dataverse Tables. I referred from one dataverse table to another dataverse table primary Key (As described above). I dont know how to access/read the Foreign Key it returns me errors. 

    I marked below in red which statement is not resolving me the correct data. The "xxxx" is just a basic string. I want to read the foreign Key (as an Text String) and then i want to filter it on "xxxx".

     

    Filter(Table2, ProjectID_ForKey="xxxxx"

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

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 394 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 328

#3
WarrenBelz Profile Picture

WarrenBelz 324 Most Valuable Professional

Last 30 days Overall leaderboard