dbTalk Databases Forums  

MDX Time Average

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


Discuss MDX Time Average in the microsoft.public.sqlserver.olap forum.



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

Default MDX Time Average - 01-14-2005 , 08:17 AM






My time dimension has levels going through from year down to hour
(Y,Q,M,D,H). At day level I have a property which specifies the days full
name as apos it's position in the month. Let's say I have a measure called
[Calls Received].

What would be the best approach to calculating the average number of calls
received per hour, for each hour (0-23), over the last quarter on a Sunday?

I'm sure this type of problem has been faced before, but I can't find any
reference to a similar scenario as a starting point.

Any pointers/advice would be greatly appreciated.

Joe

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

Default Re: MDX Time Average - 01-14-2005 , 02:49 PM






I've typically set up separate Date and TimeOfDay dimensions. Even with
your hierarchical time dimension, you should be able to set up DayOfWeek
and HourOfDay virtual dimensions, based on corresponding member
properties (at the Day and Hour levels). Such dimensions would enable
you to select just Sunday, and report averages by hour.


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