Forum Discussion

NitishChaubey's avatar
NitishChaubey
Regular Visitor
3 years ago
Solved

Cardinality and filtering

Hi Guys,
I am new to power bi and would like to know that How my left table is filtering my right table as there is no direct relationship?

Report View-

 

 

  • Anonymous's avatar
    Anonymous
    3 years ago

    Hi Anonymous ,

     

    This is my test data.

    Left table:

     

    Right table:

     

    Fact table:

     

    Relational model:

     

     

    Filter from one end to multiple ends. That is, the left table id filters the fact table ID.

     

     

     

     

    The overlapping ID is [1,2,3,4]. Then observe that the sales values with id [1, 2, 3, 4] and the corresponding id [1, 2, 3, 4] in the right table are [15, 17, 19, null] respectively.

     

     

    The right table id filters the fact table ID. The overlapping part has an ID of [1,2,3,6], and the sales value with id [1,2,3,6] in the right table is [15,17,19,23].

     

     

     

    At this point we can get. Since the left table does not have id[6], it is null corresponding to the sales value[23].

     

    Finally, the union of picture①  and picture② results is taken.

    Best Regards,

    Neeko Tang

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly. 

8 Replies