Powerpivot Subtotal not adding up

tkal2k

New Member
Joined
Jun 13, 2021
Messages
1
Office Version
  1. 2019
Platform
  1. Windows
I have two different data sets "Shipment" and "Sales" with a common key "Fruit". What I specifically want is have Sales and Shipment columns match when there are values and null.

Example:

FruitShipSalesIf Ship is Blank Statement, else Sales
Apple211
Orange1
Banana211
So I made a measure that does the IF statement. HOWEVER, the subtotals in the above example shows "3" instead of "2" for the IF statement column. I tried doing a sumx values, and countless other ways but I cannot get the subtotals to match. Below is the link.

Power Pivot Problem.xlsx

Any solution that follows this same logic would be amazing. NOTE: Lets assume I cannot change the pivot table data sets at all and can only manipulate via powerpivot.
 

Excel Facts

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.
Subtotals are calculated by the engine based on the filter context. It is never the sum of the individual results you see in the pivot.
I can't view the file for the moment so I can't tell exactly where your measure is wrong.
 
Upvote 0

Forum statistics

Threads
1,213,501
Messages
6,114,010
Members
448,543
Latest member
MartinLarkin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top