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 / Configuring model-driv...
Power Apps
Answered

Configuring model-driven app view to show related data

(0) ShareShare
ReportReport
Posted on by 18

Hello!

 

I'm currently building a model-driven app and I noticed a problem, which on paper seems simple, but I can't seem to find a solution. Here's the problem in a nutshell:

 

1. I have a table called "Placementlocation" and a table called "Customer". The point is, that the user can select a customer to be put in a placement location.

2. I created a lookup column on the Placementlocation table, that points to the Customer table. I can select a customer and it works as it should.

3. I created a view on the Placementlocation table, that shows which customer is on which location. This works fine.

4. I need to create a view on the Customer table, which shows all the customers and in the same view, shows the location where the customer is placed. I can't seem to find a way to do this. When I edit the view, it does not show the placementlocation, since there is no lookup field to the Placementlocation table. The relationship is there, but how do I show the related data in the view in this case?

Categories:
I have the same question (0)
  • Verified answer
    narayan225 Profile Picture
    2,547 Moderator on at

    @ilied84 

     

    You cannot create that because there is no one-to-one relationship in Dataverse. There is only one-to-many and many-to-many.

     

    You will need to rely on the placement location table and modify the view to see which customer is in which location.

    You can try adding a lookup in customer table as well and maybe use a flow to update when either of the lookup is modified but this is not a good idea as it creates confusion and might cause misinformation later down the track.

     

    Hope this helps.

    Cheers!

  • realwillwright Profile Picture
    772 Moderator on at

    Hi @ilied84 

     

    There is a good video from Lisa Crosbie which might help, it won't show it directly in the view but you can expand it to show it as a nested item. (38) Boost Your Model Driven App's Functionality: Creating Nested Child Grids in Under 5 Minutes - YouTube.

    realwillwright_0-1697787441890.png

     

    Failing that, similar to what narayan suggested, you could create a text column in Customer and create a Process Workflow which updates this column to match the placementlocation, you would create the Process Workflow against the placementlocation table and to run when the placementlocation 'Customer' column is modified. 

  • ilied84 Profile Picture
    18 on at

    Thanks for all the help! I solved this with a lookup field in the customer table, which in turn is modified by real time workflows and business rules, to avoid any mixups in the future. The app works in a very specific way, where the possibility of an error regarding this functionality is minimal, so this solution works perfectly.

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

These are the community rock stars!

Leaderboard > Power Apps

#1
Vish WR Profile Picture

Vish WR 899

#2
Valantis Profile Picture

Valantis 571

#3
11manish Profile Picture

11manish 499

Last 30 days Overall leaderboard