PowerPivot Weighted Average

gavs73

Board Regular
Joined
Apr 22, 2008
Messages
138
Hi, would appreciate any help on this, I want to get a weight on groups of rows in my Data using PoverPivot.

So for example, the weight by Customer by Product in January.

This sort of structure, but obviously a lots more rows !

Is it possible to sum the Amount column by row using variables from within each row ?, I tried to use sumx but couldn't get it to work.

Thanks in advance for your help. Gav

CustomerProductMonthAmountWeighted Value
A
1​
Jan
5​
sum of all product 1 in Jan
A
2​
Jan
10​
sum of all product 2 in Jan
B
1​
Jan
5​
sum of all product 1 in Jan
A
2​
Feb
10​
sum of all product 2 in Feb
C
3​
Jan
8​
sum of all product 3 in Jan
D
3​
Feb
8​
sum of all product 3 in Feb
E
2​
Mar
10​
sum of all product 2 in Mar
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.
In Excel it would be this, but can it be done in PowerPivot / DAX ?
 

Attachments

  • weight.jpg
    weight.jpg
    40.2 KB · Views: 26
Upvote 0

Forum statistics

Threads
1,223,892
Messages
6,175,236
Members
452,621
Latest member
Laura_PinksBTHFT

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