+ Reply to Thread
Results 1 to 6 of 6

How to separate blanks and 0% in a pivot chart

  1. #1
    Registered User
    Join Date
    04-16-2021
    Location
    England
    MS-Off Ver
    Office 365
    Posts
    91

    How to separate blanks and 0% in a pivot chart

    In this example, the table tracks the sales forecasted revenue at the start of the month versus the sales actual revenue at the end of the month, it then applies a calculation to show the accuracy of the forecast in percentage format. There's a formula that specifies that if there is no forecast, put the forecast accuracy as blank. One of the forecasts returned no revenue, so the accuracy shows as 0%. Another one didn't have a forecast, so the accuracy is blank.

    I want to create a pivot chart to show the forecast accuracy, but I have been unable to separate out blanks and 0%. I want the pivot chart to show blanks as blanks and 0% as 0%. one pivot chart that shows blanks as 0% and another that shows 0% as blanks, using the custom number format in the format data labels settings, I haven't found a way of creating a pivot chart that separate them out.

  2. #2
    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: How to separate blanks and 0% in a pivot chart

    You could return NA() rather than "" and then suppress the display of error values in the pivot table.
    Rory

  3. #3
    Registered User
    Join Date
    04-16-2021
    Location
    England
    MS-Off Ver
    Office 365
    Posts
    91

    Re: How to separate blanks and 0% in a pivot chart

    Thank you rorya, this worked great for that scenario. In the real scenario this table runs for 12 months, so all the other months won't have a forecast or any actuals yet. When I apply this formula to the whole table it stops working, even if I am filtering to just February. It is counting the whole table as having an error. See attached for an example.

    Update: annoyingly it is now working on that sheet, but still not working on my sheet. I'll keep plugging away and will reach out if I need help. Thank you again.
    Last edited by Excel_apprentice; 02-15-2024 at 08:00 AM.

  4. #4
    Forum Expert
    Join Date
    10-19-2021
    Location
    Brazil
    MS-Off Ver
    Office 365 V2401 w/ Win10 Home 64 Bit
    Posts
    2,014

    Re: How to separate blanks and 0% in a pivot chart


  5. #5
    Registered User
    Join Date
    04-16-2021
    Location
    England
    MS-Off Ver
    Office 365
    Posts
    91

    Re: How to separate blanks and 0% in a pivot chart

    @rorya Just to let you know that I fixed the original sheet, not entirely sure what was wrong before but I won't question it. Thanks again for your help, reputation coming your way.

  6. #6
    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: How to separate blanks and 0% in a pivot chart

    Glad we could help.

+ 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] Pivot Table/Chart and Slicers with Blanks (Hide Items with no data is checked)
    By caet_ in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 01-19-2022, 11:00 PM
  2. [SOLVED] Excel Line Chart: Ignore blanks in data and in pivot table
    By TMMc in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 11-07-2017, 03:07 PM
  3. pivot chart counting blanks
    By stephme55 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 04-06-2016, 04:24 PM
  4. Remove Blanks/0s from Pivot Table Chart
    By dksodhi in forum Excel Charting & Pivots
    Replies: 6
    Last Post: 08-24-2013, 09:32 AM
  5. Powerpivot Calculated Measure to remove blanks from pivot table/chart
    By hbusche in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 07-17-2013, 01:23 PM
  6. Replies: 3
    Last Post: 05-08-2013, 07:16 AM
  7. Create separate pivot chart for each filter?
    By oo0tommyk0oo in forum Excel General
    Replies: 4
    Last Post: 02-16-2011, 07:16 PM

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