Adding Two Columns Within A Pivot

williadb

Board Regular
Joined
May 23, 2003
Messages
68
Hi

I am new to PowerPivot. Was wondering if someone could lend me their expertise. Id like to create a measure within the pivot table itself to add the values in (DISCOUNT ALLOWED and GROSS SALES) for each row label and within its own column. I guess this is super simple but i cant figure out the syntax.

Cheers
will


Row Labels DISCOUNT ALLOWED GROSS SALES COST OF SALES
0195 -84.5 -84.5 84.5 84.5
0202 -82.75 -82.75 82.75 82.75
0261 -86.78 -86.78 86.78 86.78
0266 -20.07 -20.07 134.13 134.13
0294
0310 -75.64 -75.64 75.64 75.64
0315 -171 -171 171 171
0322 -6.89 -6.89 6.89 6.89
0364 -244.17 -244.17 244.17 244.17
0365 -87.5 -87.5 88 88
0389 3.46 -108.33 -104.87 108.33 108.33
0405 -93.05 -93.05 93.05 93.05
 

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.
It sounds to simple of an answer but just add your two measures together within a New Measure...

[New Measure]:=[DISCOUNT ALLOWED]+[GROSS SALES]

Maybe I'm not following you though.
 
Upvote 0

Forum statistics

Threads
1,214,951
Messages
6,122,442
Members
449,083
Latest member
Ava19

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