Showing results for 
Search instead for 
Did you mean: 
Level: Powered On

one-to-many relationship between entities in CDS



I created many entities in the CDS and alot of them must be link to each other. but when I click to add a relationship I can only add a lookup. I would like to be able to add a one-to-many or a many-to-many relationship between my entities in the CDS. How can I do this?


Thank you.

Community Support Team
Community Support Team

Re: one-to-many relationship between entities in CDS

Hi FeelTheBeat,


I assume that you could refer to this documentation about “Build a relationship between entities”:


From this documentation, we know that Many-to-many relationship is currently not supported yet, while about how to create One-to-many relationship, I haven’t found a related documentation on it. I am confirming from my side and I will back to you once I got any updates.


Best regards,
Mabel Mao

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Level: Powered On

Re: one-to-many relationship between entities in CDS

Hello V-Yamao


Thank you for your quick reply and for helping i'm kinda in a dead end right now :/

Level: Power Up

Re: one-to-many relationship between entities in CDS

Have you found away to create a one to many relationship ?

PowerApps Staff CWesener
PowerApps Staff

Re: one-to-many relationship between entities in CDS


Hi FeelTheBeat,


Thanks for posting! Right now we only support creating the relationship from one direction, but you can support both one-to-many and many-to-one relationships, as long as its created from the correct relationship. If you would like to create a one-to-many relationship from Entity A to Entity B, you would add a lookup to Entity B pointing to A.


For many to many, while we dont support an automated way to do this - you can look at a standard entity "Team member" as an example. This is an entity which sits between two other entities, creating a many-to-many relationship betweent those entities. You can create the same by creating a new custom entity with two lookup fields, one to each of the entities you would like to form the many to many relationship.


We are looking in the future at making this easier in the portal, but hopefully this unblocks you for now.




Helpful resources


PowerApps Monthly Community Call!

Join us next Wednesday for our Demo Extravaganza, October 16, 2019 8am PDT.


Microsoft Business Applications Virtual Launch Event

Join us for an in-depth look at the new innovations across Dynamics 365 and the Microsoft Power Platform.


Watch Sessions On Demand!

Continue your learning in our online communities.

Power Platform 2019 release wave 2 plan

Power Platform 2019 release wave 2 plan

Features releasing from October 2019 through March 2020


Power Platform World Tour

Coming to a city near you


PowerApps Community User Group Member Badge

Fill out a quick form to claim your user group badge now!


Join PowerApps User Group!!

Connect, share, and learn with your peers year-round


Power Platform Summit North America

Register by September 5 to save $200

Top Kudoed Authors
Users Online
Currently online: 388 members 5,622 guests
Please welcome our newest community members: