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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. 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 “can't create a direct active relationship between two table, To make a relationship active, deactivate or delete one of the relationships between calendar table and table 2"

 

Because I have two relationships :

1 . Between table 1 and calendar table

  1. Between table 2 and calendar table

two tables.png

Can anyone help me,how to fix it .

1 ACCEPTED SOLUTION
Gabry
Super User
Super User

 

Hello @Lolo_2023 

Thank you for explaining your model. Based on your description, I would recommend adding a Department dimension table. You can then link this Department table to both Table 1 and Table 2, instead of directly connecting Table 1 to Table 2.

To create the Department table, you can simply use the `DISTINCT` function on the department column.

View solution in original post

2 REPLIES 2
Gabry
Super User
Super User

 

Hello @Lolo_2023 

Thank you for explaining your model. Based on your description, I would recommend adding a Department dimension table. You can then link this Department table to both Table 1 and Table 2, instead of directly connecting Table 1 to Table 2.

To create the Department table, you can simply use the `DISTINCT` function on the department column.

Thank you, it works 

Helpful resources

Announcements
FabCon Global Hackathon Carousel

FabCon Global Hackathon

Join the Fabric FabCon Global Hackathon—running virtually through Nov 3. Open to all skill levels. $10,000 in prizes!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.