Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Apps - Microsoft Dataverse
Unanswered

Dataverse relationship

(0) ShareShare
ReportReport
Posted on by 150

I have created the two dataverse  table: Data and Type. 

In Type Table we have type A,B,C,D,E.

I have given type table as one to many relationship to masterdata.

But when I am trying to add multiple value in types. Its not working.

It is giving "This record cannot be added because it already has a parent record." this notification in model driven.

 

Could anyone please help !!

Thanks in advance

 

 

Categories:
  • Fubar Profile Picture
    7,901 Super User 2025 Season 1 on at
    Re: Dataverse relationship

    Feels like you may be trying to use "Add Existing" on a subgrid and selecting a record that already has its lookup field populated.  If it is a 'Type' table that probably means you either have the relationship the wrong way around or you really want a many-to-many

  • wwweber Profile Picture
    146 on at
    Re: Dataverse relationship

    When relating rows from different tables using their one-to-many relationship, a child record cannot be linked to more than one parent records. This usually gives the error you are writing here. 

     

    For example, if type is a child record of data, then type A cannot belong to data 1 and 2, it must be related to only one of them. If you need type a to be related to more than one row in the Data table, then you will need to create a one to many relationship from type to data. If you already have a one-to-many relationship from data to type then you theoretically have a many to many relationship, however it cannot be handled using one relationship alone so you will need to use either the 1:n or the n:1 relationship depending on which data-operation you are performing. This is not recommended. 

     

    I would reconsider if the data-model could be built differently. 

     

    If you explain the use-case then we might be able to help with an alternative.

  • Parvez Ghumra Profile Picture
    1,579 Super User 2025 Season 1 on at
    Re: Dataverse relationship

    @Moira0509 Your question is unclear. Please provide additional context, screenshots, logs and data model design

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

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

🌸 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…

Leaderboard > Power Apps - Microsoft Dataverse

#1
mmbr1606 Profile Picture

mmbr1606 22 Super User 2025 Season 1

#2
stampcoin Profile Picture

stampcoin 19

#3
Michael E. Gernaey Profile Picture

Michael E. Gernaey 15 Super User 2025 Season 1

Overall leaderboard

Featured topics