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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Will90
Frequent Visitor

3 tables and 2 date fields that doesn't have direct relationship

I have 3 tables lets says PRODUCED, CENTRE, PLAN.

 

Table PRODUCED has

ID*, ORDER, DESCRIPTION, WEEK

 

Table CENTRE has

ID*, LOCATION

 

Table PLAN has

ID*, DESCRIPTION, WEEK

 

Tables relationship are connected ORDERS to CENTRE via ID & CENTRE to SUPPLY via ID

 

I want to connect WEEK column together so i can see what has been produced against plan? Both week is many to many so I tried to create another table (WEEK) like CENTRE but then I get an error:

> You can't create a direct active relationship between ORDERS and PLAN because that would introduce ambigutiyu between tables Week and Centre.

 

What can I do to resolve this problem so I can only have 1 drop down field for Week to see values from both tables that are not directly linked with a relationship?

1 ACCEPTED SOLUTION

Hi,

What I had to do was build a new key table and then linked my weeks table to that one (total of 3 new tables) - I think I've got the problem now resolved. 

 

View solution in original post

6 REPLIES 6
Ashish_Mathur
Super User
Super User

Hi,

 

You should ideally create a Calendar Table with a week column.  Then build a relationship from the week column of the two tables to the week column of the Calendar Table.  In your visual/filter/slicer, drag Week from the Calendar Table.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi,

This is what I tried to do, build a calendar table like CENTRE but got this error. 

You can't create a direct active relationship between ORDERS and PLAN because that would introduce ambigutiyu between tables Week and Centre.

 

How can i attach files so I can share my file?

Hi,

 

Upload your files to Google Drive and share the download link here.


Regards,
Ashish Mathur
http://www.ashishmathur.com
https://www.linkedin.com/in/excelenthusiasts/

Hi,

What I had to do was build a new key table and then linked my weeks table to that one (total of 3 new tables) - I think I've got the problem now resolved. 

 

Will90
Frequent Visitor

How can I attached my pbix file here to show you?

v-yulgu-msft
Microsoft Employee
Microsoft Employee

Hi @Will90,

 

Based on my understanding, since there existing relationship betwen PRODUCED and PLAN via ID column, creating an extra relationship via WEEK might cause ambigutiyu for determining the mapping rules between records in two table. 

 

Please provide some sample data and desired output to make your requirement more clear.

 

Regards,

Yuliana Gu

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

Helpful resources

Announcements
November Power BI Update Carousel

Power BI Monthly Update - November 2025

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

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

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.

Top Solution Authors
Top Kudoed Authors