can you add a measure to Powerpivot that references a dyanmic cell in the calculation

RSteinke

New Member
Joined
Feb 22, 2012
Messages
6
Office Version
  1. 2019
  2. 2016
Platform
  1. Windows
We are creating a powerpivot report where the user would like to change a variable in a measure that we create so that they can see the effect on margins by changing this variable or cell location. For example: =([Measure.sales] * $A$1) where location A1 can be changed and the pivot table will show the results
 

Excel Facts

Do you hate GETPIVOTDATA?
Prevent GETPIVOTDATA. Select inside a PivotTable. In the Analyze tab of the ribbon, open the dropown next to Options and turn it off
The easiest way to allow for user input is by using linked tables in your powerpivot model. The downside is that after changing the cell value, he must open the powerpivot window (which will refresh the value in the model) and then refresh the pivot table manually.
 
Upvote 0
The easiest way to allow for user input is by using linked tables in your powerpivot model. The downside is that after changing the cell value, he must open the powerpivot window (which will refresh the value in the model) and then refresh the pivot table manually.


Hi Javier,

can you please post a sample formula here how to use that in calcualated measure?
 
Upvote 0
It really depends what kind of user you have and how complex the calculation is.

If you have a big pivot whith complex measures and your input changes all of that, the proposal above is the best solution. Disadvantage of that is your user needs to open the PowerPivot Window after he changed the input cell and refresh the Pivot after that. If you create a linked table with a column Sales_Factor your calculated measure is a simple multiplication of your sales measure and the Min, Max or average of your column

If your table is more simple and has a fix structure like ASP, volume, Sales, product cost & margin I would propose to transform your pivot into cubeformulas (options->OLAP Tools->convert to formulas). This converts every cell of your pivot into a formula that you can change afterwards. You can use the results of the PowerPivot calculation and add some additional input cells to modify the final results.
 
Upvote 0
Hi Tianbas,

Thanks for the suggestion, yes that is the right solution.i have already converted.

-Senthil
 
Upvote 0

Forum statistics

Threads
1,214,431
Messages
6,119,462
Members
448,899
Latest member
maplemeadows

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