+ Reply to Thread
Results 1 to 3 of 3

Why is CUBEVALUE returning #NUM! error?

  1. #1
    Registered User
    Join Date
    03-28-2018
    Location
    DR
    MS-Off Ver
    2010
    Posts
    2

    Why is CUBEVALUE returning #NUM! error?

    I'm using excel 2010 with powerpivot add-in.
    I have constructured a powerpivot with calculated measures.
    The pivot table is in a worksheet and I can see all the values that I need.
    I would like to extract specific data from this pivot to make a more complex report.
    I'm able to extract must of the data via CubeValue function, but there's one particular point in the pivot that when using CubeValue it returns #NUM !


    Alternatives that work... kindof:

    I can use "=" and reference the specific point in the pivot table that I need, but I want to maintain consistency and keep all my cubevalue formulas the same and only change a member expression that filters the data.

    When I convert the pivot into formulas, the cell that gives me the error is there and is a value, but the cubevalue function contains a cubeset functions that specifies members inside the set (this is manually specifying each member in "quotes"), and I don't like this solution because the set might change in the future.

    This is a subtotal for DOP and USD currency from the original Pivot Table.
    PivotValues.jpg

    Below the results of trying to extract this data:
    The direct link works without a problem
    Convert pivot to formula works but it uses fixed values from the pivot
    The Cube Value function for the USD subtotal works
    And finally, the Cube Value Function for the DOP subtotal results in number error
    CubeValueResults.JPG


    Why am I getting this #NUM ! error?

  2. #2
    Forum Expert avk's Avatar
    Join Date
    07-12-2007
    Location
    India
    MS-Off Ver
    Microsoft Office 2013
    Posts
    3,277

    Re: Why is CUBEVALUE returning #NUM! error?

    Instead of image, attach file.


    atul


    If my answer (or that of other members) has helped you, please say "Thanks" by clicking the Add Reputation button at the foot of one of their posts.

    Also: if your problem is solved, please take the time to mark your thread as SOLVED by going to the top of your first post, selecting "Thread Tools" and then "Mark thread as solved".

  3. #3
    Registered User
    Join Date
    03-28-2018
    Location
    DR
    MS-Off Ver
    2010
    Posts
    2

    Re: Why is CUBEVALUE returning #NUM! error?

    I have some delicate information in the file, I'll try to clean it up and post it when I find the time.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. CUBEVALUE and CUBESET functions
    By dluhut in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 05-31-2017, 01:57 PM
  2. [SOLVED] What is a cubevalue
    By stephme55 in forum Excel General
    Replies: 3
    Last Post: 02-12-2016, 05:40 PM
  3. Suppress error message whilst cubeset and cubevalue update
    By samdthompson in forum Excel General
    Replies: 2
    Last Post: 07-17-2014, 05:58 PM
  4. [SOLVED] SUM( ) with multiple CUBEVALUE( )'s issue
    By tranceport in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 10-14-2013, 09:26 AM
  5. CubeValue - Multiple Fields
    By gsmcconville in forum Excel General
    Replies: 2
    Last Post: 03-15-2013, 11:45 AM
  6. Using Wildcard in Cubevalue function
    By mashley in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 06-01-2011, 09:37 AM
  7. CUBEVALUE function
    By qinyg in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 04-21-2011, 11:26 AM

Tags for this Thread

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