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

Community site session details

Session Id :
Customer experience | Sales, Customer Insights,...
Answered

Adding Related Tables via Subgrid to Model Driven App, but only showing relevant data

(1) ShareShare
ReportReport
Posted on by 18
I am using an API to send Customer and Address data to Dynamics.
 
I am storing customer data in the Contacts table, and Address Data in a separate, "Customer Addresses" (I know there's an address table, it isn't suitable)
 
I am need to display all customer information on the Model Driven App "Contacts" Form.
 
I have added an subgrid that displays the data from the Customer Addresses table. But it shows all addresses, not just those associated with that customer.
 
The customer addresses table has a relationship with the contacts table, and it seems to work properly with the Lookup column etc.
 
Maybe i'm approaching this the wrong way? Essentially, i need to display all of the associated addresses to that contact/customer, as if they were values from columns within the contacts table, but i can't see a way of doing this without using sub-grids. Sub-grids however seems to display all the values from that table, not just the ones associated with the contact that i am looking at that has rendered that form?
I have the same question (0)
  • Verified answer
    Tom_Gioielli Profile Picture
    2,319 Super User 2025 Season 2 on at
    Adding Related Tables via Subgrid to Model Driven App, but only showing relevant data
    Assuming you have a lookup field on the Customer Address table, and are populating it with the Account, then you may not have the subgrid configured properly. Open your form editor, and check that the subgrid is set to "Show Related Records" only. This will then allow you to pick the related table/relationship that should be used on the subgrid.
     
  • Kunal G Profile Picture
    6 on at
    Adding Related Tables via Subgrid to Model Driven App, but only showing relevant data

    Make sure this highlighted checkboxes are checked. 

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > Customer experience | Sales, Customer Insights, CRM

#1
MVP-Daniyal Khaleel Profile Picture

MVP-Daniyal Khaleel 125

#2
Tom_Gioielli Profile Picture

Tom_Gioielli 110 Super User 2025 Season 2

#3
Erin Lubben Profile Picture

Erin Lubben 73

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans