http://groups.google.com/group/micro...olap/msg/2eee9
be79b77096f
Quote:
|
Newsgroups: microsoft.public.sqlserver.olap
|
From: Deepak Puri
Date: Sat, 19 Nov 2005 22:42:35 -0800
Subject: Re: Slow Calculations
It may be possible (depending on what the fact table looks like) to
compute [Measures].[Avg Points] as a 'Sum' measure divided by a 'Count'
measure. This would avoid computing averages 'on-the-fly', and the
overall versus individual averages can then be compared by navigating
the appropriate dimension hierarchy, like [Team].
http://groups.google.com/group/micro...olap/msg/6e9d7
3404113dfa0
Newsgroups: microsoft.public.sqlserver.olap
From: "Sean Boon [MS]"
Date: Mon, 14 Jul 2003 10:55:54 -0700
Subject: Re: avg
If you want to create an average, what you need to do is create one
measure
called SUM, and another measure based on COUNT and then create a
calculated
member called AVG which would just be SUM/COUNT. I believe there are
examples of this in the Foodmart 2000 cubes.
Sean
--
Sean Boon
SQL Server BI Product Unit
...
- Deepak
Deepak Puri
Microsoft MVP - SQL Server
*** Sent via Developersdex http://www.developersdex.com ***