Formulas in Power Pivot

explosive_duck

New Member
Joined
Jul 28, 2017
Messages
6
Hi all,

I am using Power Pivots and use a formula to do a calculation to find out the mix of something but the data for my calculation is in different rows instead of columns.

As an example.

I have the below table of information with 2 data sources which meant I have to use Power Pivots to combine the 2 together.

1584268430234.png


What I need to do ideally is put the information into a Pivot table like the below with the orange columns being calculations within the Pivot.

1584268591257.png


Since the data I need for the % Rate is in different rows, I don't know how I can add the formula in the Power Pivot.

% Rate for Payment Refused = Payment Refused divided by Sales
% Rate for No Stock = No Stock divided by Sales
Total Canx = Payment Refused + No Stock
% Rate for Total Canx = Total Canx divided by Sales

Would anyone know if it's possible to add a formula into the Power Pivots with the measures in rows?

Thanks
 

Excel Facts

How to calculate loan payments in Excel?
Use the PMT function: =PMT(5%/12,60,-25000) is for a $25,000 loan, 5% annual interest, 60 month loan.
I would think you would do measures in the bottom calculation area that you can pull into your pivot table. 4 measures, one for each calculation you are doing. The measures would apply based on filters in the pivot table.
 
Upvote 0
Thanks for the reply.

Unfortunately my issue is the information I need for the calculations are in the same column on different rows so I don't know how to add that into a formula.
 
Upvote 0

Forum statistics

Threads
1,215,066
Messages
6,122,948
Members
449,095
Latest member
nmaske

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