Oct 10 2019 01:24 PM - edited Oct 13 2019 05:34 AM
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 result is different (please see 2nd picture).
Could somebody explain this weird behavior ? Thanks in advance
PivotTable with 1 table
PivotTable with 2 tables
Relationship
Oct 11 2019 05:50 AM
SolutionExcel 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.
Oct 13 2019 05:34 AM
@Sergei Baklan Thank you very much!
Oct 11 2019 05:50 AM
SolutionExcel 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.