Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
8 years ago

Cannot create a relationship : ambiguity error

Hi

 

I have few tables. 

 

table 1

 

id  abc def

 

table 2 

 

id  cid  fef

 

table 3 

 

id  cid  sdw

 

 

Now table 1 as unique values for "id" and it is connected to table 2 with id. 

 

Table 3 and Table 2 cannot be connected as it does not have unique values for id. So I merged column 'id' and 'cid' in both table2 and table 3 to create a unique column. 

 

Now when I try to create a relationship between table 2 and table 3. It shows me an error saying that if I make this relationship active it will introduce ambuigty between table 3 and table 1. So I need to decativate or delete rel bw 3 and 1 in order to make it active. 

 

But for me relationship between table 1 and table 3 is required as well. What should I do to make both of them active? 

2 Replies

  • v-yulgu-msft's avatar
    v-yulgu-msft
    Microsoft Employee

    Hi Anonymous,

     

    Based on my understanding, table1 has unique values for id, while table2 and table3 doesn't, right? That case, you just need to create a one to many relationship from table1 to table2 abd from table1 to table3. Then, a indirect relationship will be established between table2 and table3.

     

    Best regards,

    Yuliana Gu

    • Anonymous's avatar
      Anonymous
      Not applicable

      v-yulgu-msft: When I try to create to one to many rel it says the cardinality you selected isint valid for this relationship