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

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
jPinhao
Advocate II
Advocate II

Cyclic relationship between tables

We have some fact tables (Database Opened / Database Available) in Power BI that reference columns in multiple common reference tables (All Databases / events):

 

cyclicReferences.JPG

 

(There's other fact/refernce tables, that bring togetehr users-events-sessions , etc.)

 

One of the relations can't be activated (Database Available -> All Databases), as it says there is already an active set of indirect relationships. When we're adding some measures to All Databases, so we can count the number of users, number of owners, and % owners that used the database, it just can't seem to resolve the dependency between Database Available -> All Databases correctly.

 

It feels like we've got the schema and relationships wrong, but I can't see how to better organise this data. It also feels like a common issue which will have a solution, but I can't seem to find it after searching. What is the best approach in these scenarios? Is there a pattern to follow to remove this cyclic dependency?

1 REPLY 1
Mi2n
Microsoft Employee
Microsoft Employee

@jPinhao... just wondering, why can't you combine the tables "Database Opened" and "Database Available" into a single table, and have a new field (say "Database availability") in the single table in order to distinguish between the two tables?

 

This will make the relationships simpler.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors