Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Hidden relationship?

I imported a few entities from Microsoft CRM using the OData Feed. When I tried to create a relationship between two of the tables (systemusers and tasks), it automatically made the relationship inac...
  • Stachu's avatar
    Stachu
    6 years ago

    the message actually says it quite clearly. Currently there is a following setup:

    1. 'queues' => 'systemusers'
    2. 'queues' => 'trs_tasktypes'=>'tasks'

    so if you add 'systemusers'=>'tasks' then filter on 'queues' could follow 2 paths to filter 'tasks': either the path 2. or this one:

    • 'queues' => 'systemusers'=>'tasks'

    which causes the ambiguity. The question is which logic you want to implement. If it difers per case then you can activate the inactive relationship by using USERRLATIONSHIP, e.g. in CALCULATE https://dax.guide/userelationship/

    more general info on relationships (around 14:30 Alberto starts talking about ambiguity):

    https://www.sqlbi.com/tv/understanding-relationships-in-power-bi/