Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
Unanswered

Customer Table that can be Business(Account) and Individual(contacts)

(0) ShareShare
ReportReport
Posted on by 4

Hi Community

 

I have built an app using Sharepoint but like to transfer to the Dataverse.  When I created my app, I created a Customer table that you can add  Name, First Name, Last Name and a choice column for Type (LLC, Inc., Partnerships, Trust, Individual).  I wrote a patch that would concat first and last name to Name.  In my app, the user can add both all types of borrower to the application.  

 

With the Dataverse, there is an Account table and Contact.  When they chose the type, I guess I can have them enter data to either the Account or Contact table but in real life, a contact can be associated with multiple company.  For example, I have multiple business so I can be owner of each.  

 

Is there a better way to build out this data?  I can't get my head wrap around it. Please help.

Categories:
  • Fubar Profile Picture
    7,890 Super User 2025 Season 1 on at
    Re: Customer Table that can be Business(Account) and Individual(contacts)

    Also, in addition to dpoggemann's response, it is common to add a new many-to-many relationship between Contact and Account to cater for the scenario where a person is related to many different accounts.  There is also Connections functionality that allows linking of various records e.g. can link contacts and mark as Siblings or someone as an owner of an organization https://learn.microsoft.com/en-us/dynamics365/customerengagement/on-premises/basics/create-connections-view-relationships-between-records?view=op-9-1 (but just be aware it is a complex data structure which can complicate some things later depending on what you are doing)

     

    When using the Contact and Account tables, you can also configure a "Customer Lookup" on other Tables which will allow the user to populate the Lookup field with either a Contact or Account record.

  • Drew Poggemann Profile Picture
    9,278 Most Valuable Professional on at
    Re: Customer Table that can be Business(Account) and Individual(contacts)

    Hi @pnguyen124 ,

     

    The default relationship between the Account and the Contact in Dataverse is a System relationship that is basically setup like a parent / child.  A Contact can be setup as with only one Account in this relationship.

     

    This does not mean that you could not add another relationship that would be an N:N relationship though.  This could allow you to setup multiple Contacts for an Account and a Contact related to multiple Accounts.  You can set this up by adding a new Many-to-many relationship between these two tables.

     

    Another option is you could setup your own custom intersect table in-between the Account and Contact calling the table something like Account Contact and this would have a lookup to the Account, a lookup to the Contact and you could add other columns / metadata to this table that might define the relationship of the Contact to the Account. 

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

🌸 Community Spring Festival 2025 Challenge Winners! 🌸

Congratulations to all our community participants!

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard > Power Apps - Microsoft Dataverse

#1
stampcoin Profile Picture

stampcoin 17

#2
mmbr1606 Profile Picture

mmbr1606 15 Super User 2025 Season 1

#3
ankit_singhal Profile Picture

ankit_singhal 11 Super User 2025 Season 1

Overall leaderboard

Featured topics