dbTalk Databases Forums  

How to reserve all the row in Fact table when join

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


Discuss How to reserve all the row in Fact table when join in the microsoft.public.sqlserver.olap forum.



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

Default How to reserve all the row in Fact table when join - 10-04-2004 , 04:57 PM






My fact table join with a dimension table with a foreign key.

But there some foreign key in the fact table which doesn't exist in the
dimension table.

When I add the dimension in cube, all no match rows will be filtered out

Can I reserve all the rows in Fact table when add the dimension in cube?



Reply With Quote
  #2  
Old   
Tom VdP
 
Posts: n/a

Default RE: How to reserve all the row in Fact table when join - 10-05-2004 , 02:25 AM







What do you mean by "reserve rows" ?
If you do not want to take these rows into account when refreshing cube
data, then use a view where you write the necessary logic.
In fact, always use a view for loading data in the cubes. It saved me a lot
of work...

Hth,
Tom


"ad" wrote:

Quote:
My fact table join with a dimension table with a foreign key.

But there some foreign key in the fact table which doesn't exist in the
dimension table.

When I add the dimension in cube, all no match rows will be filtered out

Can I reserve all the rows in Fact table when add the dimension in cube?




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.