Hi all,
I understand the concept of many-to-many relationship and have general idea how to design my database. However, while still building the logical data model, I would love to get some advice from the community and before move on with the actual database creation see if I have everything under control.
Long story short, I have three entities that have many-to-many relationships between them. Those entities are: Hospital, Study and Doctor.
I am thinking to define Study entity as junction table, here is why:
Two other entities and relations are directly connected to Study in the following way:
ResearchCenter creates Study (1:N)
Study is defined by Protocol (1:1)
Here is the draft of only that part of data model:
Does that make sense to define Study as the junction table? If yes, I am not sure how it is done in Dataverse, since quick google search for "composite key in Dataverse" pointed to "alternate key". I will do a research on that, but maybe if someone could say if those two are the same?
If defining Study as junction table is not a good idea, what would be better approach? Create separate junction table? Or?
This data model will be used in both Power Apps and Power BI, and I just wanna be sure that I planned and designed it as best as I could so in future I don't have to make any major changes.
Thnx!
Best
ankit_singhal
11
Super User 2025 Season 1
mmbr1606
9
Super User 2025 Season 1
stampcoin
9