+ Reply to Thread
Results 1 to 5 of 5

chart totally blank when pivot results are null

  1. #1
    Registered User
    Join Date
    08-29-2018
    Location
    New Jersey
    MS-Off Ver
    2013
    Posts
    2

    chart totally blank when pivot results are null

    I have a pivot table that at times will have no values in it if there aren't any issues of a specific type. When I look at the chart associated with it at a time that there are values, the bar chart displays fine. On a week when we don't have any issues, the pivot table doesn't have any values and as a consequence, the chart displays as an empty box. Not a graph with no values, it's simply a white box, no titles, legend, nothing.

    I've tried setting zero values to something in pivot table options and in the file/options/advanced section, but I don't think zeros or blanks are the issue. It seems to me that it's a question of a null result set. It's data we pull from our OLAP cubes, but I'm wondering if there's a way to either show an empty graph, or a message like there is in SSRS - "There's no results" kind of thing.

    I am also trying to hit the "show items with no data" in the field settings, but it's disabled for some reason. I'm thinking it's prolly because it's an OLAP cube?
    Last edited by mattcushing; 08-29-2018 at 04:48 PM. Reason: added troubleshooting

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: chart totally blank when pivot results are null

    There are charts and there are pivot table charts The two act differently.

    While pivot table charts are very agile (they adapt to changing data automatically), they are also non-adaptable. You can't "get under the hood" and tinker with them as you can with "regular" charts.

    You may be able to get around this difficulty by overlaying the pivot table results with named dynamic ranges and use them as sources for the chart data. It all depends on how the pivot results look and what you want your chart to display.

    I suggest that you attach a sample workbook so we can make a better determination.

    Attach a sample workbook (not a picture or pasted copy). Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and then scroll down to Manage Attachments to open the upload window.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

  3. #3
    Registered User
    Join Date
    08-29-2018
    Location
    New Jersey
    MS-Off Ver
    2013
    Posts
    2

    Re: chart totally blank when pivot results are null

    Thanks for responding. Don't know that I can post a copy of it, desensitized or not - it's coming from an OLAP cube. Thought if I copied the values to a non-connected sheet it might hide some issues inherent in how I was setting things up with the cube tables, right?

  4. #4
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,913

    Re: chart totally blank when pivot results are null

    If the axis data should be static, perhaps you can use the various CUBE formulas as the source for the chart rather than the pivot table?
    Rory

  5. #5
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,920

    Re: chart totally blank when pivot results are null

    Overlaid named ranges deal with the data after it gets on the spreadsheet.

+ 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. Remove (blank) from Pivot Chart
    By tghemy in forum Excel General
    Replies: 1
    Last Post: 03-18-2015, 11:18 AM
  2. Pivot chart, display results repeated within 7 days
    By Twizik in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 11-24-2014, 11:44 AM
  3. Pivot chart blank/not blank depending on computer
    By 01mercy in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 01-16-2014, 03:36 AM
  4. An error message on open - a totally blank VBA message box
    By Mr_Tigas in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-05-2013, 11:29 AM
  5. [SOLVED] Preventing NULL showing as 0 on a pivot chart using Office Web Component.
    By lk in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 09-13-2005, 11:05 AM
  6. Replies: 6
    Last Post: 08-28-2005, 05:05 PM
  7. Replies: 0
    Last Post: 05-31-2005, 05:05 PM

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