Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 15
Default GetPivotData from OLAP Cube Cell Referencing Formula.

Hi

I was wondering if anyone could help me:

I have created a pivot table using a OLAP Cube and now want to reference to
it. Now by simply typing "=" and then onto the cell the formula produced is:

=GETPIVOTDATA("[Measures].[Sum Of GoodsValueInBase]",'Pivot Month
Cube'!$A$3,"[AccountNumber]","[AccountNumber].[All].[7800]","[TransactionDate]","[TransactionDate].[All].[2008].
[April]","[AccountCostCentre]","[AccountCostCentre].[All].[RIC]")

Now this works but what i want to do is instead of it being [April] which is
typed in i want to reference this part of the field item to a cell which
contains the word "April" so that when i simply change the month in that cell
(lets say for argument sake its in A3) all the formula's will change to say
"May" and so i dont have to change each formula.

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 2,979
Default GetPivotData from OLAP Cube Cell Referencing Formula.

Replace that part of the formula with a cell reference. For example:

=GETPIVOTDATA("[Measures].[Sum Of GoodsValueInBase]",'Pivot Month
Cube'!$A$3,"[AccountNumber]","[AccountNumber].[All].[7800]","[TransactionDate]","[TransactionDate].[All].[2008].
[" & A2 & "]","[AccountCostCentre]","[AccountCostCentre].[All].[RIC]")



Bazy2k wrote:
Hi

I was wondering if anyone could help me:

I have created a pivot table using a OLAP Cube and now want to reference to
it. Now by simply typing "=" and then onto the cell the formula produced is:

=GETPIVOTDATA("[Measures].[Sum Of GoodsValueInBase]",'Pivot Month
Cube'!$A$3,"[AccountNumber]","[AccountNumber].[All].[7800]","[TransactionDate]","[TransactionDate].[All].[2008].
[April]","[AccountCostCentre]","[AccountCostCentre].[All].[RIC]")

Now this works but what i want to do is instead of it being [April] which is
typed in i want to reference this part of the field item to a cell which
contains the word "April" so that when i simply change the month in that cell
(lets say for argument sake its in A3) all the formula's will change to say
"May" and so i dont have to change each formula.

Thanks.



--
Debra Dalgleish
Contextures
http://www.contextures.com/tiptech.html

Reply
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
suppress warning and locate cube in a pivot table from olap cube Tewari Excel Discussion (Misc queries) 0 March 28th 07 06:54 AM
GETPIVOTDATA from OLAP cube [email protected] Excel Discussion (Misc queries) 3 August 15th 06 08:23 PM
olap cube little bear Excel Discussion (Misc queries) 1 February 16th 06 03:55 AM
Olap cube engine Simon Excel Discussion (Misc queries) 0 March 15th 05 07:49 AM
OLAP cube and formula z00 Excel Discussion (Misc queries) 0 January 19th 05 03:44 PM


All times are GMT +1. The time now is 08:27 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"