+ Reply to Thread
Results 1 to 17 of 17

Pivot Chart Reporting 0's on time totals

Hybrid View

  1. #1
    Registered User
    Join Date
    06-25-2021
    Location
    washington
    MS-Off Ver
    2013
    Posts
    9

    Exclamation Pivot Chart Reporting 0's on time totals

    Hi everyone. So I have a very large data set of agent aux metrics for a call center. With most of our reports I can make a pivot table with no issue and it will give totals of the time in each aux for each agent. Easy right? OK. So I got this data from a new report, and I have copied and pasted it as text and formatted it all manually including making sure the time totals were [h]:mm:ss, I made sure there were no empty cells, I retyped all the headings since I originally copy and pasted them. But as soon as I make the pivot, it gives me the dates, it gives me the agents names and i can put them in filter and that seems to be all good. I have all the aux code names available to be used as column headings. But as soon as I try to put in values I get either a bogus count (which I dont even want a count but it gives the same 4 numbers every time for every column) or the sum comes out as 00:00:00. I am quite frustrated and dont know what to do. The file attached is a kind of weak example but this other report is on my work system so I cannot share it. Thank you in advance for your input!
    Attached Files Attached Files

  2. #2
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,386

    Re: Pivot Chart Reporting 0's on time totals

    Your sample file does not include an actual pivot table, so it is difficult to know what you are doing wrong.

    If I create a pivot table based on the data, I have no trouble with the pivot table summing the times correctly.

    If I had to guess what was going wrong, two possibilities come quickly to mind:

    1) All of the times in the data are integer day values, so any sum of those values is also going to be integer days. If you choose a "time of day/24 hour clock" format, they will all display as 00:00:00, representing midnight on the morning of whatever number of days are summed. Make sure you are using an elapsed hours format, like you are doing in the source data.

    2) All of the times in your actual data set are text and not numbers. Even pivot tables will ignore text (including numbers stored as text) when summing. If all of the times are really text, then the sums will be exactly 0 days. Of course, your sample data is not showing this scenario, so you would have to look at your real data to determine (=ISTEXT() can be useful for seeing if you have a number stored as text).

    If neither of those leads to a solution, I suggest putting together a new sample file that better represents the data you have and the problem you are experiencing.
    Quote Originally Posted by shg
    Mathematics is the native language of the natural world. Just trying to become literate.

  3. #3
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,213

    Re: Pivot Chart Reporting 0's on time totals

    See if this helps
    Attached Files Attached Files
    Trevor Shuttleworth - Retired Excel/VBA Consultant

    I dream of a better world where chickens can cross the road without having their motives questioned

    'Being unapologetic means never having to say you're sorry' John Cooper Clarke


  4. #4
    Registered User
    Join Date
    06-25-2021
    Location
    washington
    MS-Off Ver
    2013
    Posts
    9

    Re: Pivot Chart Reporting 0's on time totals

    What exactly did you change?

  5. #5
    Registered User
    Join Date
    06-25-2021
    Location
    washington
    MS-Off Ver
    2013
    Posts
    9

    Re: Pivot Chart Reporting 0's on time totals

    Ok i added an actual pivot table showing the steps I am using and how I have it set up, but instead of giving me totals its just giving me 00:00:00. I have all the data and all the pivot table formats set to [h]:mm:ss so they should be read as time Thats the one I always use and that I used in this example.
    Attached Files Attached Files

  6. #6
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,386

    Re: Pivot Chart Reporting 0's on time totals

    When I open your file in post #4, without any edits, all of the sums in the pivot table look correct. 48 hours (2 days) for Jacob on 3/2/2023, for example. Your comment on the side of the pivot table says you are getting 0 days/hours in the pivot table, but I am not seeing that.

  7. #7
    Registered User
    Join Date
    06-25-2021
    Location
    washington
    MS-Off Ver
    2013
    Posts
    9

    Talking Re: Pivot Chart Reporting 0's on time totals

    no the one i am doing at work. its only doing it with this particular data set from a report ive never used before. So right, I know how to do it thats why the one in my example works, but on my work file, I get all 0's instead of a total

  8. #8
    Forum Guru
    Join Date
    04-13-2005
    Location
    North America
    MS-Off Ver
    2002/XP, 2007, 2024
    Posts
    16,386

    Re: Pivot Chart Reporting 0's on time totals

    Did you test the 2nd possible reason I gave in post #2 -- that the times are actually stored as text rather than numbers?

  9. #9
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,213

    Re: Pivot Chart Reporting 0's on time totals

    I didn't change anything, as such.

    I inserted a Pivot Table on the same page so I could see what was happening. I used the Format Painter to copy the raw data format to the Pivot Table. Then I converted the raw data to a Table so I could check the filtering. Nothing untoward.

    Oh, I told it to sum the values rather than count them (which I think is the default).

  10. #10
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,213

    Re: Pivot Chart Reporting 0's on time totals

    When I open your file in post #4, without any edits, all of the sums in the pivot table look correct. 48 hours (2 days) for Jacob on 3/2/2023, for example. Your comment on the side of the pivot table says you are getting 0 days/hours in the pivot table, but I am not seeing that.
    Ditto for me too.

  11. #11
    Registered User
    Join Date
    06-25-2021
    Location
    washington
    MS-Off Ver
    2013
    Posts
    9

    Re: Pivot Chart Reporting 0's on time totals

    its the one i am doing at work. its only doing it with this particular data set from a report ive never used before. So right, I know how to do it thats why the one in my example works, but on my work file, I get all 0's instead of a total

  12. #12
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,213

    Re: Pivot Chart Reporting 0's on time totals

    Suspect it is related to the source of the data - the report.

  13. #13
    Registered User
    Join Date
    06-25-2021
    Location
    washington
    MS-Off Ver
    2013
    Posts
    9

    Re: Pivot Chart Reporting 0's on time totals

    right me too i just dont know how to get it to be like, normal lol I have copied it and pasted it into a new sheet as text, ive manually formatted the whole thing, and it still just wont read it.

  14. #14
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,213

    Re: Pivot Chart Reporting 0's on time totals

    Ideally, post a redacted copy of the original report

  15. #15
    Registered User
    Join Date
    06-25-2021
    Location
    washington
    MS-Off Ver
    2013
    Posts
    9

    Re: Pivot Chart Reporting 0's on time totals

    I wish I could but I work remotely and it is on an hvd system and we are not allowed to email to outside emails

  16. #16
    Registered User
    Join Date
    06-25-2021
    Location
    washington
    MS-Off Ver
    2013
    Posts
    9

    Re: Pivot Chart Reporting 0's on time totals

    I figured it out! Well at least I figured out a way to fix it. I used the power query tool and changed all the columns to duration and let it generate a table for me and then I used *that* data to make my pivot table and it works.

  17. #17
    Forum Guru TMS's Avatar
    Join Date
    07-15-2010
    Location
    The Great City of Manchester, NW England ;-)
    MS-Off Ver
    MSO 2007,2010,365
    Posts
    48,213

    Re: Pivot Chart Reporting 0's on time totals

    Glad you have a solution.

+ 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] Help with pivot chart: add totals line
    By Ronyn in forum Excel Charting & Pivots
    Replies: 7
    Last Post: 01-19-2022, 10:01 AM
  2. How to create a pivot table/chart with both daily totals and running totals
    By plasteredric in forum Excel Charting & Pivots
    Replies: 2
    Last Post: 07-14-2020, 07:23 PM
  3. Add pivot row totals to top of bar chart
    By excelingtoexcel in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 04-22-2020, 11:20 AM
  4. My pivot chart totals are 1 more than they should be
    By Angelina220 in forum Excel Charting & Pivots
    Replies: 12
    Last Post: 04-22-2015, 05:03 PM
  5. [SOLVED] Urgent help with pivot, chart and reporting
    By rv02 in forum Excel Charting & Pivots
    Replies: 5
    Last Post: 12-08-2014, 06:34 PM
  6. [SOLVED] Pivot Chart on Row Totals
    By AndreaJean18 in forum Excel Charting & Pivots
    Replies: 1
    Last Post: 10-29-2014, 10:11 AM
  7. How to display totals in a pivot chart
    By calmena in forum Excel General
    Replies: 0
    Last Post: 02-14-2011, 01:19 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