dbTalk Databases Forums  

MS Excel Pivot table / OLAP / summary functions

comp.databases.olap comp.databases.olap


Discuss MS Excel Pivot table / OLAP / summary functions in the comp.databases.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Domenico Discepola
 
Posts: n/a

Default MS Excel Pivot table / OLAP / summary functions - 02-03-2004 , 08:30 AM






Hello. I wish to analyze network performance data. My source data contains
both date/time data as well as network availability data (expressed as a
percentage). For example:

date,device_name,avg_uptime
======================
01-jan-2004,device1,99.19%
02-jan-2004,device1,98.12%
etc.

If I import the data into Excel and generate a pivot table, I can summarize
my data with the following functions: min, max, count, average, sum, stdev,
etc. If I use the olap wizard, the only summary functions I can use are:
min, max, sum, and count - I do not have an average function.

Is there a way to obtain the "average" summary function in the Excel OLAP
wizard, given that my source data already contains averages? I do not wish
to import the data into an Excel workbook, as it will become large over time
(and limited in terms of the # rows a workbook can store).

TIA



Reply With Quote
  #2  
Old   
Dang
 
Posts: n/a

Default Re: MS Excel Pivot table / OLAP / summary functions - 02-03-2004 , 04:17 PM






If your input has the absolute Up time and Total Time then using Pivot
Calculated Formula to
calculate Average Uptime as Up Time / Total Time and presenting the Pivot
Table such as

Date on row, Average Uptime calculation in Data area, then the Grand Total
for columns is
your Average of Averages.


"Domenico Discepola" <domenico_discepola (AT) quadrachemicals (DOT) com> wrote in
message news:gfOTb.14475$Ja2.90175 (AT) nnrp1 (DOT) uunet.ca...
Quote:
Hello. I wish to analyze network performance data. My source data
contains
both date/time data as well as network availability data (expressed as a
percentage). For example:

date,device_name,avg_uptime
======================
01-jan-2004,device1,99.19%
02-jan-2004,device1,98.12%
etc.

If I import the data into Excel and generate a pivot table, I can
summarize
my data with the following functions: min, max, count, average, sum,
stdev,
etc. If I use the olap wizard, the only summary functions I can use are:
min, max, sum, and count - I do not have an average function.

Is there a way to obtain the "average" summary function in the Excel OLAP
wizard, given that my source data already contains averages? I do not
wish
to import the data into an Excel workbook, as it will become large over
time
(and limited in terms of the # rows a workbook can store).

TIA





Reply With Quote
  #3  
Old   
Domenico Discepola
 
Posts: n/a

Default Re: MS Excel Pivot table / OLAP / summary functions - 02-04-2004 , 10:49 AM



Thank you for your reply. Unfortunately, no absolute data exists - only
averages (see sample data in previous post).

"Dang" <mdang (AT) bigpond (DOT) com.au> wrote

Quote:
If your input has the absolute Up time and Total Time then using Pivot
Calculated Formula to
calculate Average Uptime as Up Time / Total Time and presenting the Pivot
Table such as

Date on row, Average Uptime calculation in Data area, then the Grand Total
for columns is
your Average of Averages.


"Domenico Discepola" <domenico_discepola (AT) quadrachemicals (DOT) com> wrote in
message news:gfOTb.14475$Ja2.90175 (AT) nnrp1 (DOT) uunet.ca...
Hello. I wish to analyze network performance data. My source data
contains
both date/time data as well as network availability data (expressed as a
percentage). For example:

date,device_name,avg_uptime
======================
01-jan-2004,device1,99.19%
02-jan-2004,device1,98.12%
etc.

If I import the data into Excel and generate a pivot table, I can
summarize
my data with the following functions: min, max, count, average, sum,
stdev,
etc. If I use the olap wizard, the only summary functions I can use
are:
min, max, sum, and count - I do not have an average function.

Is there a way to obtain the "average" summary function in the Excel
OLAP
wizard, given that my source data already contains averages? I do not
wish
to import the data into an Excel workbook, as it will become large over
time
(and limited in terms of the # rows a workbook can store).

TIA







Reply With Quote
  #4  
Old   
Dang
 
Posts: n/a

Default Re: MS Excel Pivot table / OLAP / summary functions - 02-04-2004 , 04:43 PM



Try this one :

If you know how avg_uptime is calculated, it could be like

avg_uptime = avg_uptime in seconds / (24 * 60 * 60) for the day

then calculate avg_uptime in seconds in a separate column as

avg_uptime in seconds = avg_uptime * 24 * 60 * 60 / 100

and put 24 * 60 * 60 in another column as Total Time


date device avg% avg_uptime total time
01-Jan-04 device1 99.19 85700.16 86400
02-Jan-04 device1 98.12 84775.68 86400


result is

Data
date device Sum of avg_uptime Sum of avg_of_avg_uptime
01-Jan-04 device1 85700.16 99.19%
02-Jan-04 device1 84775.68 98.12%
Grand Total 170475.84 98.66%

Eventually, you can remove the column Sum of avg_uptime

This solution only valid if
avg_uptime = avg_uptime in seconds / (24 * 60 * 60)





Reply With Quote
  #5  
Old   
Dang
 
Posts: n/a

Default Re: MS Excel Pivot table / OLAP / summary functions - 02-04-2004 , 04:45 PM



I forgot the Calulated Formula from Pivot Table which you must add using
Pivot/Calculated Formula Menu bar

avg_of_avg_uptime =avg_uptime/'total time'



"Dang" <mdang (AT) bigpond (DOT) com.au> wrote

Quote:
Try this one :

If you know how avg_uptime is calculated, it could be like

avg_uptime = avg_uptime in seconds / (24 * 60 * 60) for the day

then calculate avg_uptime in seconds in a separate column as

avg_uptime in seconds = avg_uptime * 24 * 60 * 60 / 100

and put 24 * 60 * 60 in another column as Total Time


date device avg% avg_uptime total time
01-Jan-04 device1 99.19 85700.16 86400
02-Jan-04 device1 98.12 84775.68 86400


result is

Data
date device Sum of avg_uptime Sum of avg_of_avg_uptime
01-Jan-04 device1 85700.16 99.19%
02-Jan-04 device1 84775.68 98.12%
Grand Total 170475.84 98.66%

Eventually, you can remove the column Sum of avg_uptime

This solution only valid if
avg_uptime = avg_uptime in seconds / (24 * 60 * 60)







Reply With Quote
  #6  
Old   
Helmut Knappe
 
Posts: n/a

Default Re: MS Excel Pivot table / OLAP / summary functions - 02-08-2004 , 05:50 AM



Hello Domenico,

Those functions are available in the MDX language and can be used to
calculate the aggregated values of avg_uptime in the time and device
dimensions in the Analysis Manager Cube Editor in the properties via custom
rollup formulas - see the "Custom Rollup Formulas and Custom Member
Formulas" entry in the BOL.

HTH,
Helmut Knappe,
Business Intelligence Ware GmbH

"Domenico Discepola" <domenico_discepola (AT) quadrachemicals (DOT) com> schrieb im
Newsbeitrag news:gfOTb.14475$Ja2.90175 (AT) nnrp1 (DOT) uunet.ca...
Quote:
Hello. I wish to analyze network performance data. My source data
contains
both date/time data as well as network availability data (expressed as a
percentage). For example:

date,device_name,avg_uptime
======================
01-jan-2004,device1,99.19%
02-jan-2004,device1,98.12%
etc.

If I import the data into Excel and generate a pivot table, I can
summarize
my data with the following functions: min, max, count, average, sum,
stdev,
etc. If I use the olap wizard, the only summary functions I can use are:
min, max, sum, and count - I do not have an average function.

Is there a way to obtain the "average" summary function in the Excel OLAP
wizard, given that my source data already contains averages? I do not
wish
to import the data into an Excel workbook, as it will become large over
time
(and limited in terms of the # rows a workbook can store).

TIA





Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.