Forum Discussion

Anonymous's avatar
Anonymous
Not applicable
7 years ago
Solved

Measure breaks inner join

I have three tables. There are two different types of sales tables linked to a Taxonomy table via the same fields (see screenshot). From these tables I am pulling Merch Taxonony as the row in a table...
  • edhans's avatar
    7 years ago

    There are no "inner joins" in the same sense there are inner joins with SQL. DAX joins are different. When the arrow points both ways, it is bi-directional cross filtering. The arrow indicates how filters flow, it doesn't limit data. You'd need to use Inner Join in Power Query to actually limit data.

     

    You should probably read this article by SQLBI on joins in DAX, including a description of how the NATURALINNERJOIN() function works.

     

    You may also want to see if CROSSFILTER() will help in your measure to activate cross filtering in a specific measure without forcing a bidirectional relationship, which can cause problems down the road.