dbTalk Databases Forums  

Limiting or "Filtering" A Cube By Date in Analysis Services???

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


Discuss Limiting or "Filtering" A Cube By Date in Analysis Services??? in the microsoft.public.sqlserver.olap forum.



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

Default Limiting or "Filtering" A Cube By Date in Analysis Services??? - 09-08-2003 , 09:41 AM






Limiting or "Filtering" A Cube By Date in Analysis Services

Good Morning Fellow MSAS-niks!

Thanks in advance for any light you may be able to shine on this
issue. I know of only two ways to set up an MSAS Cube and limit or
filter it by date:

1. Create a view in SQL Server, with a where clause limiting date,
and then build a Cube on the view. This seems to create performance
problems re build. I have had little success with this technique

or,

2. Within an MSAS Cube, create a date partition with a where clause
limiting data and then also within Cube edit, go to the date dimension
and then "source table" within properties and place that same where
clause expression. That seems to work.

Am I missing something? Are there better techniques?

Thanks so much.

Pete

Pete Hohenhaus
Kirkland, WA, East Side Seattle

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

Default Re: Limiting or "Filtering" A Cube By Date in Analysis Services??? - 09-09-2003 , 04:29 PM






An obvious answer would be to have a Time dimension and then you could slice
based on that dimension.
Somehow I get the feeling that you are asking something different.

--
Dave Wickert [MSFT]
dwickert (AT) online (DOT) microsoft.com
Program Manager
BI Practices Team
SQL BI Product Unit (Analysis Services)
--
This posting is provided "AS IS" with no warranties, and confers no rights.

"Pete Hohenhaus" <cam_pete (AT) hotmail (DOT) com> wrote

Quote:
Limiting or "Filtering" A Cube By Date in Analysis Services

Good Morning Fellow MSAS-niks!

Thanks in advance for any light you may be able to shine on this
issue. I know of only two ways to set up an MSAS Cube and limit or
filter it by date:

1. Create a view in SQL Server, with a where clause limiting date,
and then build a Cube on the view. This seems to create performance
problems re build. I have had little success with this technique

or,

2. Within an MSAS Cube, create a date partition with a where clause
limiting data and then also within Cube edit, go to the date dimension
and then "source table" within properties and place that same where
clause expression. That seems to work.

Am I missing something? Are there better techniques?

Thanks so much.

Pete

Pete Hohenhaus
Kirkland, WA, East Side Seattle



Reply With Quote
  #3  
Old   
Pete Hohenhaus
 
Posts: n/a

Default Re: Limiting or "Filtering" A Cube By Date in Analysis Services??? - 09-10-2003 , 11:20 AM



Dave --

Thanks but yes I am asking a different question. To enhance
processing time for some Cubes I do not want to incorporate data for
all dates, all time, instead what I want to do is do a last 7 days
Cube, or a last 3 months Cube, for example. The only ways I know how
to do this are covered in my first message.

But, shouldn't there be easier ways of doing this? And, why when I
filter on a source table date column do I also have to build a similar
partition for it to work?

Any insight would be greatly appreciated.

Pete


cam_pete (AT) hotmail (DOT) com (Pete Hohenhaus) wrote in message news:<3b5c906d.0309080641.3ed5efa1 (AT) posting (DOT) google.com>...
Quote:
Limiting or "Filtering" A Cube By Date in Analysis Services

Good Morning Fellow MSAS-niks!

Thanks in advance for any light you may be able to shine on this
issue. I know of only two ways to set up an MSAS Cube and limit or
filter it by date:

1. Create a view in SQL Server, with a where clause limiting date,
and then build a Cube on the view. This seems to create performance
problems re build. I have had little success with this technique

or,

2. Within an MSAS Cube, create a date partition with a where clause
limiting data and then also within Cube edit, go to the date dimension
and then "source table" within properties and place that same where
clause expression. That seems to work.

Am I missing something? Are there better techniques?

Thanks so much.

Pete

Pete Hohenhaus
Kirkland, WA, East Side Seattle

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.