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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Can I do this? Just cr...
Power Apps
Answered

Can I do this? Just create a relationship between two tables without manually entering ID in each line?

(0) ShareShare
ReportReport
Posted on by 286

Hi guys, this should be a pretty basic thing, but I can't find out how to do it.

Can we create a relationship (1-to-many) from Table A (Orders) to Table B (Feedback) based on a field? Like a 'regular' database mapping?

Not talking about building a column with LOOKUP, where the user has to manually search the line he wants. 

 I'd like to bring in a View of Table A the 'Sales Person' from Table B for that particular line. 

Table A: Orders:

Order IDAmount
1231.000
4562.000

 

Table B: Order Feedback:

Order IDSales Person
123Jim
456

Andy

 

 

 

 

The LOOKUP is technically done because the Order ID values match, right? 

 

I have the same question (1)
  • ChrisPiasecki Profile Picture
    6,422 Most Valuable Professional on at

    Hi @AliceW,

     

    To create any relationship, you'll need to use a Lookup. It will always use the unique identifier (GUID) of the related record and show the primary name column of that record when displaying it in the UI. You can't force a proper relationship any other way.

     

    You don't have to replicate the Order ID across tables. You can reference the related Order record and its columns (e..g. Order ID) from a View or quick view form if you need to easily access. 

     

    ---
    Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

  • AliceW Profile Picture
    286 on at

    HI @ChrisPiasecki ,

    Hear me out. I open the View of the Orders table. I see two lines: Order 123 and Order 456.

    I click on Order 123 and I see its Form. Now, in order for me to see that Jim was involved (the info in the second table), I'd have to click on a field somewhere and LOOKUP the Order ID, right? 

    I don't want that...

    Please help! Getting desperate...

  • ChrisPiasecki Profile Picture
    6,422 Most Valuable Professional on at

    Hi @AliceW,

     

    So in your example above, you want to see all the related feedback records and information such as sales person for an order? If you want to view child records on your order form. You can add a subgrid to show the related records and select a view that has all the columns you need in that context. You don't need to click away at that point. 

     

    ---
    Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

  • AliceW Profile Picture
    286 on at

    I think the Subgrid is based on the two Order IDs being linked, and I have to link them manually in the form, don't I? Please tell me I'm wrong 🙂

  • Verified answer
    ChrisPiasecki Profile Picture
    6,422 Most Valuable Professional on at

    Hi @AliceW,

     

    Yes you do need to link the records at some point. You can click into a Lookup and search for it, or if you click the +New button from a subgrid from Order form, then it will automatically populate the Lookup because its within the context of that record, so you'd save some clicks there.

     

    ---
    Please click Accept as Solution if my post answered your question. This will help others find solutions to similar questions. If you like my post and/or find it helpful, please consider giving it a Thumbs Up.

  • AliceW Profile Picture
    286 on at

    @ChrisPiasecki , thank you. I'll have to see about the +New button from a subgrid, as I confess I haven't used one before. 

    You did save the day!!! Thank you!!!

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard