Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default sum field is zero when using Pivot table

I hope some one could help me to solve the problem below. I have spent over
one hour trying to solve it, but with no luck.

I have a source data file with fileds of "TIME", "USER", "CPU%" and so on.
The "TIME" field has multiple duplicate time stamps. I want to know how much
CPU utilization consumed by users in each unique time stamp, but I used "sum"
on "CPU%" field, the pivot table gave me zero in the "CPU%" cells.

my source data looks like below:

TIME USER CPU% SZ VSZ
2007/09/18 00:10:15 root 0.02 27 164
2007/09/18 00:10:15 maxsch 0.02 69 328
2007/09/18 00:10:15 maxsch 0.02 69 328
2007/09/18 00:10:15 maxsch 0.02 69 328
2007/09/18 00:10:15 maxsch 0.02 69 328
2007/09/18 00:12:15 oracle 0.83 25488 102976
2007/09/18 00:12:15 oracle 0.02 25488 102976
2007/09/18 00:12:15 root 0.02 31 180
2007/09/18 00:12:15 root 0.02 60 292
2007/09/18 00:12:15 oracle 0.77 25488 102976
2007/09/18 00:12:15 root 0.30 52 228

Where is wrong with my source data? I used data--external data--database
query to exact data out from a csv file.

you can send reply back to the chat group or .

Thanks for your help in advance.

--Ying


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,480
Default sum field is zero when using Pivot table

Hi

Check that the values in the %CPU field is numeric.
If they are text entries, that would give you a 0 result.

--
Regards
Roger Govier



"Ying" wrote in message
...
I hope some one could help me to solve the problem below. I have spent over
one hour trying to solve it, but with no luck.

I have a source data file with fileds of "TIME", "USER", "CPU%" and so on.
The "TIME" field has multiple duplicate time stamps. I want to know how
much
CPU utilization consumed by users in each unique time stamp, but I used
"sum"
on "CPU%" field, the pivot table gave me zero in the "CPU%" cells.

my source data looks like below:

TIME USER CPU% SZ VSZ
2007/09/18 00:10:15 root 0.02 27 164
2007/09/18 00:10:15 maxsch 0.02 69 328
2007/09/18 00:10:15 maxsch 0.02 69 328
2007/09/18 00:10:15 maxsch 0.02 69 328
2007/09/18 00:10:15 maxsch 0.02 69 328
2007/09/18 00:12:15 oracle 0.83 25488 102976
2007/09/18 00:12:15 oracle 0.02 25488 102976
2007/09/18 00:12:15 root 0.02 31 180
2007/09/18 00:12:15 root 0.02 60 292
2007/09/18 00:12:15 oracle 0.77 25488 102976
2007/09/18 00:12:15 root 0.30 52 228

Where is wrong with my source data? I used data--external data--database
query to exact data out from a csv file.

you can send reply back to the chat group or .

Thanks for your help in advance.

--Ying




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Pivit table- cell on spread sheet referencing pivot table field David M Charts and Charting in Excel 2 August 18th 07 07:46 PM
How to make a field created a part of the Pivot Table Field List? drhell Excel Discussion (Misc queries) 0 January 29th 07 11:13 PM
Custom field in Pivot Table? [email protected] Excel Discussion (Misc queries) 1 August 8th 06 07:20 PM
Pivot Table Field jk Excel Worksheet Functions 3 July 23rd 06 11:12 PM
Pivot Table Calculated Field- Help Ali Excel Worksheet Functions 2 April 14th 05 06:16 PM


All times are GMT +1. The time now is 10:36 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"