Can getpivotdata use a cell reference?

B

Bryon Scruggs

In previous versions of Excel it was possible to use a cell reference in a
getpivotdata formula. I’m not able to do this in Excel 2007.

Example:
Excel automatically generates this formula
=GETPIVOTDATA("[Measures].[Impressions: Delivered
Impressions]",$A$27,"[Time].[Dates]","[Time].[Dates].[Month].[august 2008]")

I try and replace the “august 2008†with a cell reference like H1, but this
generates a #REF! error. I’ve played around with the syntax but nothing seems
to work. Any ideas?

Thanks,
The Datamonkey
 
B

Brotha Lee

Bryon,

I am not familiar with XL2007 however could it be that the formula does not
recognize due to the fact you have to convert it to string.

Maybe something like this works:
=GETPIVOTDATA("[Measures].[Impressions: Delivered
Impressions]",$A$27,"[Time].[Dates]","[Time].[Dates].[Month]."&H1)

HTH,

Brotha lee
 
B

Bryon Scruggs

Nope. Neither of these formulas work:
=GETPIVOTDATA("[Measures].[Impressions: Delivered
Impressions]",$A$4,"[Placement].[Placement Site
Alias]","[Placement].[Placement Site Alias].&[b1]")

=GETPIVOTDATA("[Measures].[Impressions: Delivered
Impressions]",$A$4,"[Placement].[Placement Site
Alias]","[Placement].[Placement Site Alias].[&b1]")


Brotha Lee said:
Bryon,

I am not familiar with XL2007 however could it be that the formula does not
recognize due to the fact you have to convert it to string.

Maybe something like this works:
=GETPIVOTDATA("[Measures].[Impressions: Delivered
Impressions]",$A$27,"[Time].[Dates]","[Time].[Dates].[Month]."&H1)

HTH,

Brotha lee
Bryon Scruggs said:
In previous versions of Excel it was possible to use a cell reference in a
getpivotdata formula. I’m not able to do this in Excel 2007.

Example:
Excel automatically generates this formula
=GETPIVOTDATA("[Measures].[Impressions: Delivered
Impressions]",$A$27,"[Time].[Dates]","[Time].[Dates].[Month].[august 2008]")

I try and replace the “august 2008†with a cell reference like H1, but this
generates a #REF! error. I’ve played around with the syntax but nothing seems
to work. Any ideas?

Thanks,
The Datamonkey
 
G

Glenn

=GETPIVOTDATA("[Measures].[Impressions: Delivered
Impressions]",$A$4,"[Placement].[Placement Site Alias]","[Placement].[Placement
Site Alias].["&B1&"]")


Bryon said:
Nope. Neither of these formulas work:
=GETPIVOTDATA("[Measures].[Impressions: Delivered
Impressions]",$A$4,"[Placement].[Placement Site
Alias]","[Placement].[Placement Site Alias].&[b1]")

=GETPIVOTDATA("[Measures].[Impressions: Delivered
Impressions]",$A$4,"[Placement].[Placement Site
Alias]","[Placement].[Placement Site Alias].[&b1]")


Brotha Lee said:
Bryon,

I am not familiar with XL2007 however could it be that the formula does not
recognize due to the fact you have to convert it to string.

Maybe something like this works:
=GETPIVOTDATA("[Measures].[Impressions: Delivered
Impressions]",$A$27,"[Time].[Dates]","[Time].[Dates].[Month]."&H1)

HTH,

Brotha lee
Bryon Scruggs said:
In previous versions of Excel it was possible to use a cell reference in a
getpivotdata formula. I’m not able to do this in Excel 2007.

Example:
Excel automatically generates this formula
=GETPIVOTDATA("[Measures].[Impressions: Delivered
Impressions]",$A$27,"[Time].[Dates]","[Time].[Dates].[Month].[august 2008]")

I try and replace the “august 2008†with a cell reference like H1, but this
generates a #REF! error. I’ve played around with the syntax but nothing seems
to work. Any ideas?

Thanks,
The Datamonkey
 
B

Bryon Scruggs

Let it be known to all that Glen rules. If I am the data monkey he is the
data ape.

Glenn said:
=GETPIVOTDATA("[Measures].[Impressions: Delivered
Impressions]",$A$4,"[Placement].[Placement Site Alias]","[Placement].[Placement
Site Alias].["&B1&"]")


Bryon said:
Nope. Neither of these formulas work:
=GETPIVOTDATA("[Measures].[Impressions: Delivered
Impressions]",$A$4,"[Placement].[Placement Site
Alias]","[Placement].[Placement Site Alias].&[b1]")

=GETPIVOTDATA("[Measures].[Impressions: Delivered
Impressions]",$A$4,"[Placement].[Placement Site
Alias]","[Placement].[Placement Site Alias].[&b1]")


Brotha Lee said:
Bryon,

I am not familiar with XL2007 however could it be that the formula does not
recognize due to the fact you have to convert it to string.

Maybe something like this works:
=GETPIVOTDATA("[Measures].[Impressions: Delivered
Impressions]",$A$27,"[Time].[Dates]","[Time].[Dates].[Month]."&H1)

HTH,

Brotha lee
:

In previous versions of Excel it was possible to use a cell reference in a
getpivotdata formula. I’m not able to do this in Excel 2007.

Example:
Excel automatically generates this formula
=GETPIVOTDATA("[Measures].[Impressions: Delivered
Impressions]",$A$27,"[Time].[Dates]","[Time].[Dates].[Month].[august 2008]")

I try and replace the “august 2008†with a cell reference like H1, but this
generates a #REF! error. I’ve played around with the syntax but nothing seems
to work. Any ideas?

Thanks,
The Datamonkey
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top