LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Use cell_ref in place of an item in get pivot data function

I want to use the getpivotdata function to get data based on a cell reference
in excel 2007. My pivot table is from an analysis cube.
The getpivotdata function that is auto generated from clicking on the data I
want is
=GETPIVOTDATA("[Measures].[Order Quantity]",$B$5,"[Order Date Dim].[Year
Number]","[Order Date Dim].[Year Number].&[2010]","[Order Date Dim].[Week
Number Of Year]","[Order Date Dim].[Week Number Of
Year].&[17]","[Product].[SKU]","[Product].[SKU].&[2]")

I want to change the SKU that is retrieved from [2] (which appears to be a
reference to the 2nd record for SKU) to a cell reference. This way I could
take this formula and use it to retreive the same data for whatever SKU is in
the referenced cell. I hope my question makes sense?
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using Mid Function with Pivot Table Calculated Item Simon Excel Worksheet Functions 0 March 22nd 10 12:07 AM
Pivot table, IF function, calculated item versus calculated field NomadPurple Excel Discussion (Misc queries) 1 March 9th 10 03:17 PM
Pivot Table missing data item acss Excel Worksheet Functions 1 May 20th 08 03:32 AM
My Pivot total just repeats item data Savril Excel Discussion (Misc queries) 1 January 4th 05 01:20 AM


All times are GMT +1. The time now is 11:38 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"