Home All Groups Group Topic Archive Search About


Author
16 Mar 2006 9:08 PM
samsam
While working with OLAP we encountered weird results specially when working
with "averages" over 3 or more dimensions including Time dimension. Is the
order of dimensions creation in a cube affects the calculation order???

Author
17 Mar 2006 4:34 AM
Jéjé
postyour question in the OLAP newsgroup
and explain what's appends and what you expect.

Show quoteHide quote
"samsam" <sam***@discussions.microsoft.com> wrote in message
news:E105E0F3-0D5C-4A84-8E15-8A2D1EDE4D0E@microsoft.com...
> While working with OLAP we encountered weird results specially when
> working
> with "averages" over 3 or more dimensions including Time dimension. Is the
> order of dimensions creation in a cube affects the calculation order???
Are all your drivers up to date? click for free checkup

Author
17 Mar 2006 7:10 AM
Sreejith G
Nope, order of dimesion wont affect the average calculation. Your way of
looking into the average calulation might be creating the problem. Again in
your fact and dimesion design, if you have missed any suroggate key mapping
to dimension then it can waver your result.

i.e

Fact
-----
Product_id  Facility_id Time_id Measure1 Measure2
1                 1              1            20         20
1                 2              2           99          99
1                                2           1000       999

Here in this fact table(first three colum surrogate of dimesnion tables) we
are missing Facility_id in the 3rd row, so in aggregated value we miss third
row and our output value can waver.

We faced this issue once just thought to share!!!

This is bascially because, inside cube sql will form as inner joins between
fact and dimension....
--
Thanks,
Sree
[Please specify the version of Sql Server as we can save one thread and time
asking back if its 2000 or 2005]



Show quoteHide quote
"samsam" wrote:

> While working with OLAP we encountered weird results specially when working
> with "averages" over 3 or more dimensions including Time dimension. Is the
> order of dimensions creation in a cube affects the calculation order???

Bookmark and Share