dbTalk Databases Forums  

OLAP cube - invalid join between fact table and dim table

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


Discuss OLAP cube - invalid join between fact table and dim table in the microsoft.public.sqlserver.olap forum.



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

Default OLAP cube - invalid join between fact table and dim table - 07-05-2004 , 07:36 AM






Hi all,

In my fact table there are some records for which I do
not have a mapping reference to dimension table. Even
then the cube is getting processed successfully.

My assumption was that the cube would fail on such cases
since the fact table would fail in finding the
corresponding foreign key relation in the dimension table.

Any suggestions on this would be helpful

Thanks
Gomathi Sarma

Reply With Quote
  #2  
Old   
Dave Wickert [MSFT]
 
Posts: n/a

Default Re: OLAP cube - invalid join between fact table and dim table - 07-06-2004 , 07:38 PM






If you look at the SQL statement, the default for an unoptimized schema is
to form an inner join between the fact table and the dimension tables. This
means that missing dimension rows just "disappear" before AS even gets them.
If you optimized the schema (using the Optimize Schema tool in the Cube
Editor), you will start seeing error rows.
--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI SystemsTeam
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.

"GS" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
Hi all,

In my fact table there are some records for which I do
not have a mapping reference to dimension table. Even
then the cube is getting processed successfully.

My assumption was that the cube would fail on such cases
since the fact table would fail in finding the
corresponding foreign key relation in the dimension table.

Any suggestions on this would be helpful

Thanks
Gomathi Sarma



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.