Sum index column rather than use Grand Total

tourgis2000

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

I'm aware that similar questions have been asked before on this topic and that the answer seems to require SUMX and VALUE, but I would be grateful for some insight:

My index column, here called 'Unit Price(weighted) at Old Number', is the result of a number of helper measures so I can't see how I can use Columns for the SUMX calculation. here's an example:

Ppvt sumx.png


Can anyone help with how to craft a measure that sums the column 'Unit Price(weighted) at Old Number' rather than aggregated with Grand Total?

Many thanks,

Martin
 

Excel Facts

Workdays for a market open Mon, Wed, Friday?
Yes! Use "0101011" for the weekend argument in NETWORKDAYS.INTL or WORKDAY.INTL. The 7 digits start on Monday. 1 means it is a weekend.
The way to approach it is to use 2 measures, one to do the basic calc and the other to iterate it. I can't satisfactorily explain why you need to iterate a separate measure or why it gives a different result but it does. Assuming your table is called 'table1':

Code:
[Measure 1]=SUM(Table1[Unit Price])*SUM(Table1[Number Per Old])

[Measure 2]=SUMX(VALUES(Table1[Type]),[Measure 1])

Hope this helps.
 
Upvote 0

Forum statistics

Threads
1,223,948
Messages
6,175,571
Members
452,652
Latest member
eduedu

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