Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
6 years ago
Solved

Mapping between Join type and cardinalities in PowerBI

Hi, can anyone share a internal link or explanation on how cardinalities and joins work in PowerBI. Is there a mapping between join types and cardinalities example: one to one is considered as a j...
  • v-diye-msft's avatar
    v-diye-msft
    6 years ago

    Hi Anonymous 

     

    Sorry for my late reply. 

    1. Similar to join type in Merge pane, can we specify Cardinality in Manage Relationships pane to create different types of relationships? (Like, LeftOuter, Rightouter, Inner.. etc)

    It's not able to specify the cardinality when you manage the relationship.

     

    2. Is there any mapping or similarity between the Cardinality in Manage Relationships pane and Join Type in Merge pane?

    Based on my research, we don't have the option to achieve this.

     

    3. Could you please confirm our below observation is correct?

    We did a small experiment with two tables (as mentioned in previous reply), by changing the Cardinality and checking the Result data.

    Below is what we observed, from Cardinality and Result we get

    many : many -> Inner 
    one : one -> Full Outer 
    one : many -> RightOuter 
    many : one -> LeftOuter 

     

    I have the same results as you tested, I confirm you are right!