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

Get certified in Microsoft Fabric—for free! For a limited time, get a free DP-600 exam voucher to use by the end of 2024. Register 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
Super User
Super User

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
November Carousel

Fabric Community Update - November 2024

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

Live Sessions with Fabric DB

Be one of the first to start using Fabric Databases

Starting December 3, join live sessions with database experts and the Fabric product team to learn just how easy it is to get started.

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! Early Bird pricing ends December 9th.

Nov PBI Update Carousel

Power BI Monthly Update - November 2024

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