Forum Discussion

ValeriaBreve's avatar
ValeriaBreve
Post Partisan
4 years ago
Solved

Understanding One to many relationship?

Hello sorry for the probably veyr basic question, but I can't figure out this one. I have 2 tables in powerBI, both containing the column "Item" through which they are related through a one to many...
  • lbendlin's avatar
    4 years ago

    Great question, and it touches upon one of the fundamentals of how Vertipaq works. 

     

    Your choice of "item" from one or the other table has a profound impact on the displayed data. If you pick it from the "dimension" table (the 1 side of the relationship) then you perform an inner join with strict filtering. If you choose to use the field from the "fact" table   (the M side)  then that is more like a left outer join.

     

    By the way, the first option is preferred.  If you don't like the strictness you can check the box "show items with no data" in the columns/rows well.