dbTalk Databases Forums  

Usin STDEV - MDX urgent

microsoft.public.sqlserver.olap microsoft.public.sqlserver.olap


Discuss Usin STDEV - MDX urgent in the microsoft.public.sqlserver.olap forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Nikhil Sharma
 
Posts: n/a

Default Usin STDEV - MDX urgent - 07-14-2004 , 12:08 AM






I wanted to calculate the standard deviation for processing time of
workflows.
I have a dimension as 'Workflow Name' and have a level as 'Workflow
Version'
I have a measure as 'Processing Time'.
When ever a workflow completes we put an entry into the facttable with
processing time.

So suppose i have Workflow1,Workflow2 and if 6 runs of workflow1 and 5
runs of Workflow2 have been completed the fact table will have a total
of 11 (6+5) rows enterd with 'Processing Time' for each run.

i want to calculate the standard deviation for Processing Time for all
the runs of workflow1 and workflow2.

How can i do this using STDEV MDX function.


Thanx in advance

Nikhil

Reply With Quote
  #2  
Old   
Deepak Puri
 
Posts: n/a

Default Re: Usin STDEV - MDX urgent - 07-14-2004 , 10:23 AM






Assuming that you always wish to calculate the standard deviation of
Processing Time for all the leaf nodes under a selected member of the
[Workflow Name] dimension:

Quote:
Stdev(Descendants([Workflow Name].CurrentMember,,LEAVES),
[Measures].[Processing Time])
Quote:

- Deepak

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!


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.