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 / Removing A Relationshi...
Power Apps
Unanswered

Removing A Relationship Between Records (CDS)

(0) ShareShare
ReportReport
Posted on by

Can someone explain to me how to remove a relationship between two specific records in the CDS? For example, I have two Entities named Person and Team. I have a relationship in the CDS that connects the two. I can connect a Person to a Team, but I need to know how to remove a Person from a Team. I don't need to remove the relationship between the entities; I need to remove the relationship between the records contained within the entities.

Any help here would be great. Thanks.

Categories:
I have the same question (0)
  • v-yamao-msft Profile Picture
    on at

    Hi TonyHart,

     

    I assume that this documentation could be your reference:
    https://powerapps.microsoft.com/en-us/tutorials/data-platform-entity-lookup/

     

    Please check this part about how to delete a record with a Lookup relationship:

    3.PNG

     

    Best regards,
    Mabel Mao

  • Community Power Platform Member Profile Picture
    on at

    Hi @v-yamao-msft,

    I do not need to delete a record. I need to remove a relationship between two records.

     

    For example, If record A has a lookup relation to record B, I need to delete the lookup relationship between the two records. I don't need to remove the relationship between the entity, nor do I need to delete a record. I just need to delete the relationship between two records.

     

    Thanks

  • cholopa Profile Picture
    62 on at

    Hi:

     

    Excuse me for the interruption, but can you tell me how to create a entity relationship like it is describe here?

     

    https://www.youtube.com/watch?v=-fQ-bRllhXc

     

    I know how to create a lookup relation, but haven't figure out how to create a normal, self or one to many relationship between entities. (like it is said in the link you attached: https://powerapps.microsoft.com/en-us/tutorials/data-platform-entity-lookup/

     

  • Community Power Platform Member Profile Picture
    on at

    @v-yamao-msft

     

    Any updates on this?

  • cbelmans Profile Picture
    58 on at

    Hi Tony,

     

    I had the same problem and couldn't find a good solution.

    What I do as a (temporary) simplistic workaround: create a fictive Team (name it "-" ) and place the Person in that Team.

    Any better solution from the PowerApps team?

     

    Chris

  • CWesener Profile Picture
    on at

    Hi Tony,

     

    Can you confirm if you are referring to the Team and Person entities that are shipped with CDS, or just using that as an example? I'll try and answer for both just in case.

     

    For the Team and Person that exist within the model that comes with CDS, there is a third entity that maintains a many-to-many relationship for Team and Person (a Team can have many people, and a person can be a part of many teams). This entity is called "Team member" and if you wish to remove a relationship between a Team and Person, you would delete the record in "Team member" that connected the two.

     

    For your more generic example, where Entity A has a lookup field to Entity B and you want to remove the relationship of a specific record - you should be able to simply clear the value from the field in Entity A (unless you have made it required) which would remove the relationship on the specific record, but not the entities themselves.

     

    Let me know if I've misunderstood.

     

    Thanks

  • Reinier Profile Picture
    77 on at

    Any update on this topic? 

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 765 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 272

Last 30 days Overall leaderboard