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
Dayna
Helper V
Helper V

Cyclic relationship on table structure

Hi All,

 

I have two database tables:

Server and Test Log

 

In the server table, I store some basic information about the server, for example, the date it was issued, the name, etc...

 

In the test log table, I store information related to tests on the server. This also has the ServerID as a foreign key back to the server table. So far, so good.

 

In PowerBI, I want a report that will plot the dates of the server commissioning and the tests on one chart, so I need to refer to a calendar. 

 

The server date is not the same date as the test date, so I can't link to one, then jump to the other, as the information is incorrect.

 

Linking both to the same calendar causes a cyclic relationship.. 

 

How is best to overcome this issue, please? 

 

Many thanks,

Dayna

 

06-12-2018 11-51-11.png

1 ACCEPTED SOLUTION

Hi Dayna,

 

Sorry for late, I have reproduced your issue like below. For example, if you create a slicer based on one column in MasterCalendar table and select a value to filter DR TestingLog. There're two kinds of filter route, one is MasterCalendar-> DR TestingLog, another is MasterCalendar-> DR Server-> DR TestingLog. So there may be two different filter results in DR TestingLog which may cause ambiguity. 

Capture.PNG2.PNG  

 

Regards,

Jimmy Tao

 

View solution in original post

6 REPLIES 6
v-yuta-msft
Community Support
Community Support

Hi Dayna,

 

Change the direction between 'MasterCalendar' and 'DR TestingLog', between 'DR Server' and 'DR TestingLog' from bidirection to single direction.

 

Regards,

Jimmy Tao

Hi Jimmy,

 

Tried it - but still unable to make the relationship active. I've included a screenshot of the updated ERD:

10-12-2018 11-22-35.png

Hi Dayna,

 

Sorry for late, I have reproduced your issue like below. For example, if you create a slicer based on one column in MasterCalendar table and select a value to filter DR TestingLog. There're two kinds of filter route, one is MasterCalendar-> DR TestingLog, another is MasterCalendar-> DR Server-> DR TestingLog. So there may be two different filter results in DR TestingLog which may cause ambiguity. 

Capture.PNG2.PNG  

 

Regards,

Jimmy Tao

 

Hi Jimmy,

 

That makes sense, and thank you for your help. It's much appreciated!

 

All the best,

Dayna

Stachu
Community Champion
Community Champion

I'd try with changing the relationships from biderectional to single direction



Did I answer your question? Mark my post as a solution!
Thank you for the kudos 🙂

Hello,

 

I've just tried and it's made no difference sadly, the error is attached.

 

Many thanks,

Dayna06-12-2018 12-03-49.png

 

 

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.