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.

avatar user

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 FABINSIDER for a $400 discount!

FebPBI_Carousel

Power BI Monthly Update - February 2025

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

March2025 Carousel

Fabric Community Update - March 2025

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

Top Solution Authors (Last Month)
Top Kudoed Authors (Last Month)