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
Anonymous
Not applicable

Model cycles

Hi,

 

I'm curious how can one handle cyclic dependencies. Let's say we have four tables: Users, Desktops, Orgunits and Tasks. Each Orgunit has some Desktops assigned and some Users working on those devices. Each Task is being executed by a User on a Desktop BUT there is an option that User can from time to time work for another Orgunit on their Desktops. Now we have to maintain all the informations:

  • what Desktops belong to what Orgunits (*:1)
  • what Users are formally assigned to which Orgunit (*:1)
  • which Users performed certain Task (there may be more than one) (*:1)
  • what Desktop was used while performing the Task (1:1)

So far my model has duplicated Desktop table so there is no cycle but I'd like to avid having the very same table added twice.

 

This is of course very simplified model of my real situation (I've got some more tables between Users and Tasks and the whole model is not finished yet, might happen that cyclic dependency will pop up again later).

 

What are your advices? What are the best practices?

4 REPLIES 4
v-yiruan-msft
Community Support
Community Support

Hi @Anonymous ,

I'm not sure if my understanding is correct or not...Do you want to know how to avoid the circular dependency when create the data model(similar with the one in below screen shot)?

circle.JPG

Please check if the following documentations can help you:

Adjusting Cross filter direction for a complex set of tables and relationships

What is the Direction of Relationship in Power BI?

Best Regards

Rena

Community Support Team _ Rena
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.
Greg_Deckler
Super User
Super User

Sorry, not following this. Please see this post regarding How to Get Your Question Answered Quickly: https://community.powerbi.com/t5/Community-Blog/How-to-Get-Your-Question-Answered-Quickly/ba-p/38490


@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...
Anonymous
Not applicable

@Greg_Deckler, with all respect could you be more specific on what's wrong with my post? I'll try to improve it but I really honestly don't know which point do you find missing/missleading. What point(s) from linked post do you refer to?

I think the post is pretty clear if you read it and compare it to what you have posted:
1. Sample data
2. Expected output
3. The logic of how to get from A to B

You included you data model relationships.

@ me in replies or I'll lose your thread!!!
Instead of a Kudo, please vote for this idea
Become an expert!: Enterprise DNA
External Tools: MSHGQM
YouTube Channel!: Microsoft Hates Greg
Latest book!:
The Definitive Guide to Power Query (M)

DAX is easy, CALCULATE makes DAX hard...

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.