+ Reply to Thread
Results 1 to 2 of 2

CUBEVALUE returning blank

  1. #1
    Registered User
    Join Date
    03-24-2020
    Location
    London, England
    MS-Off Ver
    365
    Posts
    15

    CUBEVALUE returning blank

    =CUBEVALUE("ThisWorkbookDataModel","[Measures].[Path PP Plan Yes]", "[Path].[Pathway Plan].No", "[Service Areas].[Service Areas].["&A56&"]") = returns blank

    =CUBEVALUE("ThisWorkbookDataModel","[Path].[Pathway Plan].No", "[Path].[PP Eligible for Plan].Yes", "[Service Areas].[Service Areas].["&A56&"]") = returns blank

    =CUBEVALUE("ThisWorkbookDataModel","[Measures].[Path PP Yes Plan No]", "[Service Areas].[Service Areas].[&"A56&"]") = returns blank

    =CUBEVALUE("ThisWorkbookDataModel","[Measures].[Path PP Plan Yes]", "[Measures].[Path Plan No]", "[Service Areas].[Service Areas].["&A56&"]") = returns #VALUE

    Background info :

    [Measures].[Path PP Plan Yes] = [Path].[PP Eligible for Plan].Yes
    [Measures].[Path Plan No] = [Path].[Pathway Plan].No
    [Measures].[Path PP Yes Plan No] = [Path].[PP Eligible for Plan].Yes and [Path].[Pathway Plan].No

    There are two columns in my table. Both of them have various Yes and No's - [Measures].[Path PP Yes Plan No] returns 20 in PowerPivot.
    DAX formula : Path PP Yes Plan No:=CALCULATE ( COUNTROWS ( 'Path' ), FILTER('Path','Path'[PP Eligible for Plan] = "Yes"), FILTER('Path','Path'[Pathway Plan] = "No"))

    There should be figures returning and have no idea why this is the case.
    I have checked data in [Service Areas].[Service Areas] and I am able to find matching data in Path table.

    If anyone can help that would be great. I am fairly new to CUBE formulas so if an explanation could be given along with the answer, that would be amazing.

    Thank you in advance.

  2. #2
    Registered User
    Join Date
    03-24-2020
    Location
    London, England
    MS-Off Ver
    365
    Posts
    15

    Re: CUBEVALUE returning blank

    Fixed the formula but not in the way I wanted to.

    =CUBEVALUE("ThisWorkbookDataModel",$A54,"[Measures].[Path PP Yes Plan No]")
    A54 : =CUBEMEMBER("ThisWorkbookDataModel","[Path].[Service Area - TRUE]&[Support Service]")

    Originally A54 was =CUBEMEMBER("ThisWorkbookDataModel","[Service Areas].[Service Areas].&[Support Service]")

    As mentioned before, the original formula for A54 worked for other CUBEVALUE formulas but not sure why, on this occasion it failed....

+ 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. [SOLVED] Returning blank if one or another or both cells in formula are blank or zero
    By Nucks in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-23-2019, 06:39 AM
  2. [SOLVED] checking for a blank cell and returning blank in another as part of a nested IF formula
    By 1learning excel1 in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 04-25-2019, 07:05 AM
  3. Why is CUBEVALUE returning #NUM! error?
    By migueljoa in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-28-2018, 02:44 PM
  4. [SOLVED] Reference cell formula returning 0 when BLANK, need BLANK to show
    By williamc in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 03-31-2016, 04:23 PM
  5. [SOLVED] What is a cubevalue
    By stephme55 in forum Excel General
    Replies: 3
    Last Post: 02-12-2016, 05:40 PM
  6. Replies: 2
    Last Post: 06-21-2012, 04:51 PM
  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