Sum of Measure

tourgis2000

New Member
Joined
Sep 3, 2008
Messages
48
Hi all,

I've been struggling with this for a long while now and I hope someone can help:

I have a PowerPivot table (I'm calling it 'Fruit Sales') and a pivot. I need to calculate a Cost per Fruit for 2012 weighted by Volume sold in 2013. I can create simple measures for this without difficulty.

However, the problem I have is in creating accurate subtotals. Here's an example:

PPVT example.JPG


First, I need to create a 'Weighted 2013 Volume'. Each result needs to be based on the category subtotal for Volume 2013.

Second, I need to create 'Volume x Cost per Fruit 2012' The measure needs to sum the results by category.

At the moment I am only able to derive a Grand Total. I have been looking at SUMX without any success. Can anyone help? It would be much appreciated.

Thanks,

Martin
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.

Forum statistics

Threads
1,223,227
Messages
6,170,848
Members
452,361
Latest member
d3ad3y3

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