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

Did you know Excel offers Filter by Selection?
Add the AutoFilter icon to the Quick Access Toolbar. Select a cell containing Apple, click AutoFilter, and you will get all rows with Apple
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,918
Messages
6,122,252
Members
449,075
Latest member
staticfluids

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