cancel
Showing results for 
Search instead for 
Did you mean: 
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
Eyelyn9
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
Eyelyn9
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

AlB
Super User III
Super User III

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
PBI User Groups

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

March Update

Check it Out!

Click here to read more about the March 2021 Updates!

secondImage

The largest Power BI virtual conference

100+ sessions, 100+ speakers, Product managers, MVPs, and experts. All about Power BI. Attend online or watch the recordings.

secondImage

Experience what’s next for Power BI

See the latest Power BI innovations, updates, and demos from the Microsoft Business Applications Launch Event.