Returns the rows of left-side table which appear in right-side table.
The Left-side table expression to be used for Intersect.
The Right-side table expression to be used for Intersect.
A table that contains all the rows in LeftTable that are also in RightTable.
Intersect is not commutative. In general, Intersect(T1, T2) will have a different result set than Intersect(T2, T1).
Duplicate rows are retained. If a row appears in table_expression1 and table_expression2, it and all duplicates in table_expression_1 are included in the result set.
The column names will match the column names in table_expression1.
The returned table has lineage based on the columns in table_expression1 , regardless of the lineage of the columns in the second table. For example, if the first column of LeftTable has lineage to the base column C1 in the model, the intersect will reduce the rows based on the intersect on first column of RightTable and keep the lineage on base column C1 intact.
Columns are compared based on positioning, and data comparison with no type coercion.
The returned table does not include columns from tables related to LeftTable. Therefore, when LeftTable corresponds to a base table, once applied to the filter context it does not involve the expanded table and it only filters columns of he base table.
Learn more about INTERSECT in the following articles:
Other related functions are:
Contributors: Alberto Ferrari, Marco Russo
MSDN documentation: https://docs.microsoft.com/en-us/dax/intersect-function-dax