Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Pivot Table with Data Model Connection - getpivotdata #REF error

I have a pivot table that is connected to a data model as the data source for the pivot table. The data model is connected to a SQL Server.

I am using the data in the pivot table to populate a dashboard where I am using the getpivotdata function.

The problem with getpivotdata I am facing is that the arguments in the getpivotdata are referencing the data table in the data model

e.g.


=GETPIVOTDATA ("[Measures].[Count of Activity Type]",'DD View Pivots'!$A$3,

"[v_rpt_ActivitySummary].[Area (Regarding)]","[v_rpt_ActivitySummary].[Area (Regarding)].&[United States]",

"[v_rpt_ActivitySummary].[Note2]","[v_rpt_ActivitySummary].[Note2].&[Calls]",

"[v_rpt_ActivitySummary].[Week]","[v_rpt_ActivitySummary].[Week].&[This Week]")



When I try to change the item reference to certain cells in my output dashboard I get a #REF error.

e.g.

=GETPIVOTDATA ("[Measures].[Count of Activity Type]",'DD View Pivots'!$A$3,

"[v_rpt_ActivitySummary].[Area (Regarding)]",G$2

"[v_rpt_ActivitySummary].[Note2]",$C5,

"[v_rpt_ActivitySummary].[Week]",$D7) will give me a #REF error.


I would like to change the Items in my arguments into cell references.

Is there any way to fix this reference error?


Thanks,
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
Pivot Table GETPIVOTDATA Buck Excel Worksheet Functions 2 December 18th 09 07:31 PM
PIVOT TABLE, GETPIVOTDATA Carl Excel Discussion (Misc queries) 2 December 8th 09 05:23 PM
Pivot Table loses Data Connection Dead.Zone Excel Discussion (Misc queries) 0 July 7th 09 02:45 PM
Pivot Table Data Connection J.Rogers Excel Programming 0 June 28th 06 08:56 PM
GETPIVOTDATA - Pivot table name problem? Kobayashi Excel Worksheet Functions 0 November 9th 04 04:46 PM


All times are GMT +1. The time now is 12:35 AM.

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

About Us

"It's about Microsoft Excel"