Page 1 of 1

Average number of days

Posted: Wed Jun 17, 2009 11:06 am
by appleglaze28
I'd like to ask if anybody knows how to average days base on the number of element in a specified dimension. This dimension would be dynamic so, i there anyway best practice on this that you can share?

Re: Average number of days

Posted: Wed Jun 17, 2009 11:11 am
by Alan Kirk
appleglaze28 wrote:I'd like to ask if anybody knows how to average days base on the number of element in a specified dimension. This dimension would be dynamic so, i there anyway best practice on this that you can share?
I think that you may need to rephrase the question. What exactly does the dimension represent? What values are being used to calculate an average; average days per what?

(It may be best to give a description of the cube(s) involved and the dimensions that they contain, and what you want to calculate.)

Re: Average number of days

Posted: Wed Jun 17, 2009 11:54 am
by Jeroen Eynikel
appleglaze28 wrote:I'd like to ask if anybody knows how to average days base on the number of element in a specified dimension. This dimension would be dynamic so, i there anyway best practice on this that you can share?
Elcomp (or was it elcompn) returns you the number of children for a consolidated element. If I understand your question correctly that should be the answer for you.

Re: Average number of days

Posted: Wed Jun 17, 2009 12:08 pm
by Martin Ryan
There is some discussion about averages in this post: http://forums.olapforums.com/viewtopic.php?f=21&t=388, which may help.

Martin

Re: Average number of days

Posted: Fri Jun 19, 2009 7:06 am
by karunakar
Are you asking the average number of days for a particular element in the cube or for all the elments in the cube.