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 / Display data from anot...
Power Apps
Unanswered

Display data from another table, where the relationship is many-to-one for data powering the form.

(0) ShareShare
ReportReport
Posted on by

I have a simple dataverse table (tbl_Vendor) withs vendor information.

I have a screen that has:

- A galley form (galVendor) for vendor selection

- A Vendor Info display form (dispVendor)

 

I recently added another table (tbl_Comment) to hold comments concerning the vendors in tbl_Vendor.

This table (tbl_Comment) has a relationship with the vendor table (tbl_Vendor) through the addition of a lookup column (lu_Vendor) in the Comment table that allows you to select a vendor record.

 

I want to add a new form (frmComment) to the screen, that will display any existing comment for the vendor selected in the gallery.  But I cannot figure out how to setup the form (frmComment) to display all comments for that selected vendor.

I have the same question (0)
  • AhmedSalih Profile Picture
    6,680 Moderator on at

    Hello, @DigitalMT-02, form control can only display one record of a table. If you want to display all comments from the comment table, I suggest you use either a gallery or a table control. The items property of the control should be GalleryName.Selected.lu_Vendor << know that you don't need a Filter function to retrieve the related child records when you do have relationship in place.

     


     

    If my reply helped you, please give a 👍 If it solved your issue, please give a 👍 & accept it as the Solution to help other community members find it more.

    Visit my Blog: ahmedsalih.blog

    Visit my YouTube Channel: https://www.youtube.com/@powerplatformplace/videos

  • cwebb365 Profile Picture
    3,294 Most Valuable Professional on at

    if you are using a model driven app the best way is to use your vendor form and add a sub grid control that is using the related comments. Or create a new form on vendor table and do the same thing. 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
11manish Profile Picture

11manish 514

#2
WarrenBelz Profile Picture

WarrenBelz 419 Most Valuable Professional

#3
Valantis Profile Picture

Valantis 295

Last 30 days Overall leaderboard