PivotTable : Unexpected behavior with 2 tables

New Contributor

The first picture shows the expected behavior of adding 'Product' and 'Revenue' to a pivot table. Now when i add the same fields but from 2 different tables linked with a relationship, the result is different (please see 2nd picture).
Could somebody explain this weird behavior ? Thanks in advance


PivotTable with 1 table


PivotTable with 2 tables




2 Replies
Best Response confirmed by CastyChichi (New Contributor)


Excel forces relationships only when it evaluates the measure. Other words, if you add into the Values for example Count of Products, result will be as expected, i.e. Revenues related to Products only. Before that it shows Cross Join result for two tables - for each row of one table all rows from another table.

In general, Pivot Table is aggregation tool.

@Sergei Baklan Thank you very much!