+ Reply to Thread
Results 1 to 7 of 7

Pivot Table: Hiding Zero Values Also Hides Negative Values

  1. #1
    Registered User
    Join Date
    06-11-2020
    Location
    Canada
    MS-Off Ver
    365
    Posts
    31

    Pivot Table: Hiding Zero Values Also Hides Negative Values

    Sadly I am unable to share a copy of the sheet in question and I haven't the time to anonymize the data:

    I've got a pivot table producing a stock report from a ledger.
    The rows are the Garment field broken down by Size.
    My columns are In, Out, and a calculated item (Garments In - Garments Out), which creates a row for every size, even if a garment doesn't come in that size.
    Because of this there are lots of sizes for which the sum is zero, and I use a value filter (Sum of Qty does not equal 0) to hide these rows.

    This generally works fine unless one of the quantities is negative, which happens, usually because of a data entry error.
    For some reason the negative values gets swept up with the zeros and those rows are hidden.
    As far as I understand it, zero means ZERO and nothing else, but perhaps these filters work differenty.

    Is there any way I can filter out the zero sum rows while leaving the negative rows alone?

    I need them in the report so that I can spot the error and correct the ledger.
    Last edited by helmanfrow; 02-18-2024 at 04:15 PM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,448

    Re: Pivot Table: Hiding Zero Values Also Hides Negative Values

    Welcome to the forum

    Please 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.

  3. #3
    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,915

    Re: Pivot Table: Hiding Zero Values Also Hides Negative Values

    Is it really a calculated field, or a calculated item?
    Rory

  4. #4
    Registered User
    Join Date
    06-11-2020
    Location
    Canada
    MS-Off Ver
    365
    Posts
    31

    Re: Pivot Table: Hiding Zero Values Also Hides Negative Values

    Quote Originally Posted by rorya View Post
    Is it really a calculated field, or a calculated item?
    Item. I'll fix it in the question, thanks.

  5. #5
    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,915

    Re: Pivot Table: Hiding Zero Values Also Hides Negative Values

    The filter will filter out rows where the sum of all three columns is 0. So if say In is 0 and Out is negative, then the difference column will be the same as Out but positive and the sum of all three will be 0. Would that explain what you are seeing?

  6. #6
    Registered User
    Join Date
    06-11-2020
    Location
    Canada
    MS-Off Ver
    365
    Posts
    31

    Re: Pivot Table: Hiding Zero Values Also Hides Negative Values

    Quote Originally Posted by rorya View Post
    The filter will filter out rows where the sum of all three columns is 0. So if say In is 0 and Out is negative, then the difference column will be the same as Out but positive and the sum of all three will be 0. Would that explain what you are seeing?
    Yeah, that might explain it. O! How I miss thee, Google Sheets' QUERY() function!

  7. #7
    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,915

    Re: Pivot Table: Hiding Zero Values Also Hides Negative Values

    Since you have 365, you could load the data into the data model (via Power Pivot) and create three measures to do the calculations for you. That should avoid all the problems that calculated items cause.

+ 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. Replies: 0
    Last Post: 03-31-2022, 05:10 AM
  2. [SOLVED] Removing (Hiding) 1 of 4 Pivot Table Sub Total Values
    By Moosehead in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 08-07-2012, 02:06 PM
  3. Replies: 6
    Last Post: 05-10-2012, 04:43 AM
  4. Hiding "0" values in pivot table
    By mogens in forum Excel General
    Replies: 3
    Last Post: 05-23-2006, 03:56 PM
  5. Replies: 0
    Last Post: 03-10-2006, 12:23 PM
  6. [SOLVED] Getting Count field to recognise rows with negative values in Exc.:a Pivot table to C
    By hamish in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 11: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