Reference cell ID in CUBEVALUE tuple instead of actual value

Joined
Oct 6, 2009
Messages
2
Reaction score
0
Hi,

I'm creating a worksheet based on a cube. I'd like to reference the cell A1 instead of the cell value in my CUBEVALUE function in B2.

Here's what I have:

If I do this, I get my value:
Territory Sites
A1: UK & US |B1: =CUBEVALUE("Cube","[Measures].[Site Count]", "[Territory].[Territory Roll- Up].&[UK & US]")

But if I do this:
Territory
Sites
A1: UK & US |B1: =CUBEVALUE("Cube","[Measures].[Site Count]", "[Territory].[Territory Roll- Up].&[A1]")

I get en error. And I'd like to do it this way instead.

I tried putting A1 in quotes but that didn't work. This should be possible. Does anyone see what I may be missing?

Thanks in advance!!
 
Joined
Oct 6, 2009
Messages
2
Reaction score
0
Answering my own question.

It's done like this:
CUBEVALUE("Cube","[Measures].[Site Count]", "[Territory].[Territory Roll- Up].["& $A$1 & "]")
 

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