Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
cah2035
Frequent Visitor

Help figuring out schema with circular relationship

Hi all, hopefully this is a good place to ask for help with this. I am designing the below schema but I have run into an issue where I am seeing a circular reference. Let me explain a bit about what my data is:

Patients have procedures (surgeries) and from those multiple "Parts" of tissue are taken. Those parts are broken down further into specimens (small pieces) and then stained slides are made from those. On the other side, our job is to run tests on these specimens, but only select specimens will be used. So "Cases" (which is like a request) can have multiple different types of tests, and those tests are run on the Specimens of the related Part. So for each test/activity, it needs to be decided which Specimen should be used.

 

To me, that means relating Activities to Specimens (using a join table, ActivityMaterials, since specimens could be used across multiple activities if needed and multiple specimens can be used for a single activity), but this then creates a circular relationship since these two entities are already connected through the Part. Do I even need to make this join table, or is the relationship through the Part enough?

 

 

cah2035_0-1604527148945.png

 

1 REPLY 1
amitchandak
Super User
Super User

You have two many Bi-directional joins. Make all 1-M joins as single directional. In need do the same with 1-1 ( make them 1-M if you are sure of ) and then check.

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

Check out the October 2025 Power BI update to learn about new features.

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.