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

Don't miss out! 2025 Microsoft Fabric Community Conference, March 31 - April 2, Las Vegas, Nevada. Use code MSCUST for a $150 discount. Prices go up February 11th. Register now.

Reply
Lolo_2023
Frequent Visitor

cannot create a direct active relationship between two tables

Hi experts,

I have two tables, the column “Department “it has a fixed values in two tables and the column “Values “

Has a different values, when I tried to represent the data of two tables based on date, the data don’t shows and when I do the relationship between table 1 and table 2 this message appear “cannot create a direct active relationship between two tables "

because i am having 2 relationships:

1. Between table 1 and calendar table.

2. Between table 2 and calendar table.

 

can anyone help me, how to fix it.

 

two tables.png

  

 

1 ACCEPTED SOLUTION
lbendlin
Super User
Super User

Instead of linking the tables, add a Department dimension to your data model and link it to both tables.

View solution in original post

2 REPLIES 2
v-junyant-msft
Community Support
Community Support

Hi @Lolo_2023 ,

The lbendlin's response is a viable solution!

And @Lolo_2023 , This type of closed-loop relationship between multiple tables is not recommended in Power BI Desktop because multiple active relationships create conflicts and multiple relationships may lead to unclear dependencies between tables:

vjunyantmsft_0-1725331020124.png

BTW I did my own testing on this and I can still display the data with just these two relationships:

vjunyantmsft_1-1725331576108.png

So could you please provide us with your sample data and a description of what calculations you are trying to achieve?

Best Regards,
Dino Tao

lbendlin
Super User
Super User

Instead of linking the tables, add a Department dimension to your data model and link it to both tables.

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Jan25PBI_Carousel

Power BI Monthly Update - January 2025

Check out the January 2025 Power BI update to learn about new features in Reporting, Modeling, and Data Connectivity.

Jan NL Carousel

Fabric Community Update - January 2025

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

Top Solution Authors