Daniel4050
New Member
- Joined
- Oct 21, 2022
- Messages
- 3
- Office Version
- 365
- Platform
- Windows
Hello everyone,
I am new to the forum and to power pivot in general.
I'm having a problem with the totals of the pivot tables that are added to the Power Pivot data model, specifically when it comes to a column that does a division
This error only occurs when I work with data that is in the power pivot data model, because when I use current data from an excel table, the totals in the division column are correct. I am attaching images of the situation
These images correspond to two tables that handle exactly the same data source, the only difference is that the second one takes the data from the power Pivot model, and the first one from an excel table.
1. Pivot Table, Data from Excel Table (Correct Totals)
2. Pivot Table, Data from Power pivot data model (Wrong Totals)
The table obtains data of several products with a unique SKU code, products that have a sale in liters and an individual budget in liters as well, in addition these products are associated to a Logistics center, therefore it is possible to filter and visualize the sales and compliance by Logistics center.
For the sales compliance column, the operation performed is a division of the sales in liters over the sales budget in liters. (Sales/Sales Budget = % Sales Compliance)
What the power pivot table does, is that it performs the division for the data of each Product (Sales/Budget) and then adds all the values obtained in subtotals and Grand Total, The correct thing to do (and what the excel pivot table does) is to add up the total sales of all products and then divide by the total budget of all products.
The same error occurs for the coverage column, which divides the inventory by the budget in liters.
Anybody has the same problem? any idea how to solve it? I would appreciate it a lot!
I am new to the forum and to power pivot in general.
I'm having a problem with the totals of the pivot tables that are added to the Power Pivot data model, specifically when it comes to a column that does a division
This error only occurs when I work with data that is in the power pivot data model, because when I use current data from an excel table, the totals in the division column are correct. I am attaching images of the situation
These images correspond to two tables that handle exactly the same data source, the only difference is that the second one takes the data from the power Pivot model, and the first one from an excel table.
1. Pivot Table, Data from Excel Table (Correct Totals)
2. Pivot Table, Data from Power pivot data model (Wrong Totals)
The table obtains data of several products with a unique SKU code, products that have a sale in liters and an individual budget in liters as well, in addition these products are associated to a Logistics center, therefore it is possible to filter and visualize the sales and compliance by Logistics center.
For the sales compliance column, the operation performed is a division of the sales in liters over the sales budget in liters. (Sales/Sales Budget = % Sales Compliance)
What the power pivot table does, is that it performs the division for the data of each Product (Sales/Budget) and then adds all the values obtained in subtotals and Grand Total, The correct thing to do (and what the excel pivot table does) is to add up the total sales of all products and then divide by the total budget of all products.
The same error occurs for the coverage column, which divides the inventory by the budget in liters.
Anybody has the same problem? any idea how to solve it? I would appreciate it a lot!