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

Register now to learn Fabric in free live sessions led by the best Microsoft experts. From Apr 16 to May 9, in English and Spanish.

Reply
jPinhao
Helper II
Helper 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
Employee
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
Microsoft Fabric Learn Together

Microsoft Fabric Learn Together

Covering the world! 9:00-10:30 AM Sydney, 4:00-5:30 PM CET (Paris/Berlin), 7:00-8:30 PM Mexico City

PBI_APRIL_CAROUSEL1

Power BI Monthly Update - April 2024

Check out the April 2024 Power BI update to learn about new features.

April Fabric Community Update

Fabric Community Update - April 2024

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