cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
matze Frequent Visitor
Frequent Visitor

Circular dependency

Hello everybody,

 

I am asking for help with a dependency problem in PowerBI. You can find the pbix- File here: https://drive.google.com/open?id=10jEJ8DLzZjIyJ_0wDOMoPn9ToTV8blfr

I have 3 tables:

(1) One with the turnover, an ID (for example a contract ID), the material and the date
(2) One with the costs, the ID, and the date of the costs

(3) One with the date

 

The Link between (1) and (2) is the ID, so I am able to show the costs depending on the material. Then I would like to link (3) with (1) and (2) over the date, so that I can show profit ( turnover-costs) over date and over material. I am getting the error, that I have to activate the (1) - (2) relationship in order to activate the other relation.

Does anybody can help me?

 

Thank you very much in advance.

 

Kind regards,

Matze

1 ACCEPTED SOLUTION

Accepted Solutions
Community Support Team
Community Support Team

Re: Circular dependency

Hi @matze ,

 

You can create one relationship between (1) and (2), one relationship between (2) and (3), and there is no need to create relationship between (1) and (3), just change the Cross filter direction of all relationships from Single to Both, which will take the three tables treated as a single table.

 

You can learn more about relationship :https://docs.microsoft.com/en-us/power-bi/desktop-create-and-manage-relationships.

 

Best Regards,

Amy

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

2 REPLIES 2
Community Support Team
Community Support Team

Re: Circular dependency

Hi @matze ,

 

You can create one relationship between (1) and (2), one relationship between (2) and (3), and there is no need to create relationship between (1) and (3), just change the Cross filter direction of all relationships from Single to Both, which will take the three tables treated as a single table.

 

You can learn more about relationship :https://docs.microsoft.com/en-us/power-bi/desktop-create-and-manage-relationships.

 

Best Regards,

Amy

 

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Community Support Team
Community Support Team

Re: Circular dependency

Hi  @matze ,

 

Does that make sense? If so, kindly mark my answer as a solution to help others having the similar issue and close the case. If not,  let me know and I'll try to help you further.

 

Best regards

Amy

Helpful resources

Announcements
Exclusive LIVE Community Event #3 – Ask Arun Anything

Exclusive LIVE Community Event #3 – Ask Arun Anything

Join us in the third Triple A event!

Meet the 2020 Season 1 Power BI Super Users!

Meet the 2020 Season 1 Power BI Super Users!

It’s the start of a new Super User season! Learn all about the new Super Users and brand-new tiered recognition system.

Super User Challenge: Can You Solve These?

Super User Challenge: Can You Solve These?

We're celebrating the start of the New Super User season with our first ever Super User 'Can You Solve These?' challenge.

Power BI Desktop Update - February 2020

Power BI Desktop Update - February 2020

We are super excited for our update this month, as we are releasing two of our top community requests!

Power Platform Online Conference

Power Platform Online Conference

Join us for the first ever Power Platform Online Conference!

Top Solution Authors