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 / Create Relationships b...
Power Apps
Answered

Create Relationships between tables with existing data

(0) ShareShare
ReportReport
Posted on by 15

Howdy folks,

 

I'm having some trouble wrapping my head around working with relationships between 2 or more tables, where the data already exists in both tables.

 

I have a Customer table which has CustomerID - already populated. I have an Order table which has CustomerID. Data has been imported already as stated. I want to create a relationship between both tables on CustomerID. How exactly do I go about this? I know you can create a lookup column between tables - but that's with the intention that a user would create the data after the fact.

 

I suspect I'm missing something pretty obvious!

 

Any help would be awesome 🙂

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

    Hi @PatrickProvoke,

     

    Unfortunately you can't convert an existing column to a Lookup. You'd have to create the new column, then copy over the data from the old column to the new one. If you don't have a large number of records, it's fairly straightforward to do this using the out of box Export to Excel / Import Data, or Edit in Excel via the Power Apps for Excel add-on.

     

    ---
    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.

  • PatrickProvoke Profile Picture
    15 on at

    Thanks Chris,

     

    That appears to work ok - however I'm still a little confused with doing multiple lookups/relationships from one table to many other tables.

     

    Say I have 3 Tables. Property, Work Orders and Work Orders Special. Property has PropertyID. Work Orders has many PropertyIDs, same with Work Orders Special.

     

    Will I need to create individual columns in Work Orders and Work Orders for EACH relationship? That seems like there would be 3x columns in Property like 'PropertyID, WorkOrderProperty and then WorkOrderSpecialProperty' with the same data in each.

  • PatrickProvoke Profile Picture
    15 on at

    Accepting solution above here. For anyone looking, it can be a little tricky to setup relationships that match what you might have designed in an ERD or data diagram - especially if you're coming from a SQL or Oracle background. You can still build the relationships you would normally create, but if you're dealing with importing existing data - you will likely need to import/export to excel numerous times to fill those lookup columns you create with data that links entities together.

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

    Hi @PatrickProvoke,

     

    Yes you need to create a Lookup column for each relationship. It will automatically create a many to one relationship for you. 

     

    ---
    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.

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 505

#2
WarrenBelz Profile Picture

WarrenBelz 502 Most Valuable Professional

#3
Haque Profile Picture

Haque 324

Last 30 days Overall leaderboard