Return power pivot table value to cell

icduvall

New Member
Joined
Dec 4, 2006
Messages
19
Hi all, sorry if this has already been covered or is overly simple.

If I have a simple table in power pivot structured as follows

Column 1, Column 2
Value 1, Description 1
Value 2, Description 2
Value 3, Description 3

I would like to return the value to a cell (like a vlookup)

So it cell value is "Value 1", I would like to return "Description 1"

Thanks in advance!
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
thats interesting, the normal (and easier) way would be to have a description in a cell and return the value from powerpivot. If you need to return the descripton you need to get it first in the values area of your pivot table. You can do that with following measure

IF(COUNTROWS(VALUES(Table1[Colums2])=1,VALUES(Table1[Column2]),blank())

Put the column1 in the rows of te pivot and the measure in the value field.

Make a copy of that pivot and go to options->OLAP tools->convert to formulas

This will change every row, measure and filter of your pivot to a formula in an Excel cell. The cell with the CUBEMEMBER formula for Column1 you can (in most cases) overwrite with value 1... and the cell with the CUBEVALUE formula will return the description
 
Upvote 0

Forum statistics

Threads
1,214,377
Messages
6,119,185
Members
448,872
Latest member
lcaw

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