Forum Discussion
CastyChichi
Oct 10, 2019Copper Contributor
PivotTable : Unexpected behavior with 2 tables
Hi, 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 resul...
- Oct 11, 2019
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.
SergeiBaklan
Oct 11, 2019Diamond 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.
CastyChichi
Oct 13, 2019Copper Contributor
SergeiBaklan Thank you very much!