dbTalk Databases Forums  

basic fact dimension join

comp.databases.olap comp.databases.olap


Discuss basic fact dimension join in the comp.databases.olap forum.



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

Default basic fact dimension join - 09-28-2006 , 03:40 PM






Hi,
I am new to Oracle OLAP and I noticed something in this tool. It
doesn't aggregate the right way.
For example, if there is a customer A in the Customer dimension and
customer A has 5 records in the fact with amounts 10,20,30,40,50. When
I build the cube, the cube doesn't aggregate the amounts for customer
A. It picks one of the amounts. I have to actually aggregate in the
view and pass it to the cube.
Is this how it is in Oracle OLAP? or am i missing somehting? Help me on
this basic fact/dimension design.
Thanks in advance.


Reply With Quote
  #2  
Old   
Kevin Lancaster
 
Posts: n/a

Default Re: basic fact dimension join - 09-29-2006 , 12:05 PM






Hi PP

I believe you are talking about the data loading of the leaf data into
an Analytic Workspace(AW), and not the aggregation of that data within
the AW?

The default behaviour of the tools like AW Manager is to assume the
source does not have duplicate rows. If there ARE duplicate rows then
the default behavior is to read the last row from your source into each
cell of the cube.

Depending on the business scenario this may or may not be what you want
ofcourse...

If (as it seems from your description below) you want the SUM of all the
rows for a specific cell to be read into that cell, then there are
several approaches, probably the easiest of which is to modify the
source (eg in a view over the table which includes, say, a SUM/GROUP BY,
or for your ETL to provide you with a table which has no duplicates).

Once your leaf data is in the AW ofcourse, you have enormous control
over aggregationn, as I'm sure you have discovered.

Feel free to contact me offline if you need a pointer to more information.

Kevin (@ Oracle)

p p wrote:
Quote:
Hi,
I am new to Oracle OLAP and I noticed something in this tool. It
doesn't aggregate the right way.
For example, if there is a customer A in the Customer dimension and
customer A has 5 records in the fact with amounts 10,20,30,40,50. When
I build the cube, the cube doesn't aggregate the amounts for customer
A. It picks one of the amounts. I have to actually aggregate in the
view and pass it to the cube.
Is this how it is in Oracle OLAP? or am i missing somehting? Help me on
this basic fact/dimension design.
Thanks in advance.


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.