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

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now! Learn more

Reply
mweel111
New Member

Having problems with relationships

I have the following relationships.

 

Appointment has 1 Clinic

Patient has 1 Clinic

 

I'm trying to create a cube that has the patient and their count of appointments.

 

However when I get the appointments filtering down on the patient.  They are totals (Patient A, 20, Patient B, 20, etc.)  My first instinct obviouls would be to create a relationship between the Patient and Appointments as 1 Patient has many Appointments.

However when I try and do this it says there is an ambigious relationship because of the clinic relationship.  I would think the BI would use that relationship to filter the correct appointments but it doesn't.   How do I approach solving this issue?

 

Thank you in advance.

 

1 REPLY 1
Anonymous
Not applicable

Hi @mweel111 ,

Regarding your question, can you say what fields are in both tables? By which fields are the two tables connected? When creating table-to-table relationships.It is better to have a star model consisting of a fact table with multiple dimension tables.

Model relationships in Power BI Desktop - Power BI | Microsoft Learn

Helpful resources

Announcements
Power BI DataViz World Championships

Power BI Dataviz World Championships

The Power BI Data Visualization World Championships is back! Get ahead of the game and start preparing now!

December 2025 Power BI Update Carousel

Power BI Monthly Update - December 2025

Check out the December 2025 Power BI Holiday Recap!

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.