dbTalk Databases Forums  

Filter fact records going into cube

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


Discuss Filter fact records going into cube in the microsoft.public.sqlserver.olap forum.



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

Default Filter fact records going into cube - 06-19-2006 , 07:50 AM






Can I filter the rows in the source fact table so that only rows which
meet certain conditions are processed in the cube ?

Can I divide the rows in one fact table so that two mutually exclusive
cubes are built from the same fact table? For Example: I want one cube
with all sales in USA and one cube with all sales in Europe where
everything sits in the same fact table?

I'm using MS SQLServer 2000 for my source data as well as Analysis
Services.

Thanks!


Reply With Quote
  #2  
Old   
Milind
 
Posts: n/a

Default Re: Filter fact records going into cube - 06-19-2006 , 08:10 AM






Two ways to do this
1) Create 2 views in sql server with different where statements (one
which filters USA records and one which filters Europe records). Then
use these views as the source tables for your cubes.
2) Define a different data slice for your partitions of the cubes.

HTH

Milind


Rivkarak wrote:
Quote:
Can I filter the rows in the source fact table so that only rows which
meet certain conditions are processed in the cube ?

Can I divide the rows in one fact table so that two mutually exclusive
cubes are built from the same fact table? For Example: I want one cube
with all sales in USA and one cube with all sales in Europe where
everything sits in the same fact table?

I'm using MS SQLServer 2000 for my source data as well as Analysis
Services.

Thanks!


Reply With Quote
  #3  
Old   
BK
 
Posts: n/a

Default Re: Filter fact records going into cube - 06-20-2006 , 07:06 AM



Another method is "source table filtering" under the advanced tab in
MSAS
i.e.: NOT([dbo].[DimG_MdcDrg].[mdc_DNL]=15)

We traditionally use the "Create view" method discussed earlier
though....
Byron


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.