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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
adam_mac
Helper I
Helper I

Unable to connect target sales table to calendar table

Hi, i am trying to connect my target sales table to my calendar table so that i can then create KPI's against actual sales however It wont seem to let me create a 1 to many relationship even though my calendar table is a generic table that contains unique values. It references its because there is an active relationship with the Finance_sales table. Any ideas how to fix?

 

 

1.PNG2.PNG

1 ACCEPTED SOLUTION
v-eqin-msft
Community Support
Community Support

Hello @adam_mac ,

As the error message said, if the relationship map contains multiple active relationships to summarize analysis, it will be confused which one should be correct. Therefore, it only allows an activated primary relationship link between linked tables for analysis and interactions.

If you change the direction of the crossfilter to be one-sided, you should be able to create the relationship. Or you can use it in a calculation using USERELATIONSHIP().


Have I answered your question? Please mark my answer as a solution. Thanks a lot.

Best regards
Eyelyn Qin

View solution in original post

2 REPLIES 2
v-eqin-msft
Community Support
Community Support

Hello @adam_mac ,

As the error message said, if the relationship map contains multiple active relationships to summarize analysis, it will be confused which one should be correct. Therefore, it only allows an activated primary relationship link between linked tables for analysis and interactions.

If you change the direction of the crossfilter to be one-sided, you should be able to create the relationship. Or you can use it in a calculation using USERELATIONSHIP().


Have I answered your question? Please mark my answer as a solution. Thanks a lot.

Best regards
Eyelyn Qin

AlB
Community Champion
Community Champion

Hi @adam_mac 

It probably has to do with the many-to-many bidirectional relationship that you have in the model. Try to get rid of it. Many-to-many and bidirectional relationships are not recommended unless you strictly need them and know extremely well what you are doing.

 

Please mark the question solved when done and consider giving a thumbs up if posts are helpful.

Contact me privately for support with any larger-scale BI needs, tutoring, etc.

Cheers 

SU18_powerbi_badge

 

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!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.