+ Reply to Thread
Results 1 to 3 of 3

CUBEVALUE Function - Excel 2007

Hybrid View

  1. #1
    Kresimir Zoric
    Guest

    CUBEVALUE Function - Excel 2007

    Is there a way to send value of other cell as a parametar for CubeValue
    Function?

    Example from help:

    =CUBEVALUE ("Adventure Works","[Measures].[Gross
    Profit]","[Product].[Category].[Bikes]","[Date].[Fiscal Year].[FY 2004]")

    I would like to use

    =CUBEVALUE ("Adventure Works","[Measures].[Gross
    Profit]","[Product].[Category].[Bikes]","[Date].[Fiscal Year].[$B2]")

    Where $B2 is cell with plain text value "FY 2004".

    I think that problem is in "", but when i put CUBEVALUE parametar without
    quotations, function doesn't work.

    Thank you,

  2. #2
    Registered User
    Join Date
    09-01-2010
    Location
    Memphis, TN
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: CUBEVALUE Function - Excel 2007

    Specific cell refernces must be enclosed in "&&". Try:

    =CUBEVALUE ("Adventure Works","[Measures].[Gross
    Profit]","[Product].[Category].[Bikes]","[Date].[Fiscal Year].["&$B2&"]")

  3. #3
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 365 on Win11 (desktop), 2019 on Win11 (notebook)
    Posts
    8,198

    Re: CUBEVALUE Function - Excel 2007

    Hi, MKuehner,

    an answer to a thread which is more than 6 sears old - maybe you have a look at the date the thread was created and the last answer was given. And as the TO is listed as a guest I doubt he will still be waiting for an answer to this thread.

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1