Forum Discussion

perhund's avatar
perhund
New Member
8 years ago
Solved

USERELATIONSHIP does not override active relationship

Hi.   I have created the following simple relationships between Sales, Employees, Countries and Continents, with every employee assigned a primary continent. To see the total sales of countr...
  • MattAllington's avatar
    8 years ago

    These are not simple relationships. You have created an ambiguous path between the continent table and the sales table. There are 2 paths when you use USERELATIONSHIP, which should the model use?  The documentation is referring to 2 relationships between the same tables. In your case you have relationships between different tables. 

     

    It seems to me that you have a conflict. The q is “is it employee location or sales location that determines continent?”  If it can be both, then use 2 continent tables or columns. If only 1, then just use that and ignore the other.