dbTalk Databases Forums  

Measures that fall outside time dimension

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


Discuss Measures that fall outside time dimension in the microsoft.public.sqlserver.olap forum.



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

Default Measures that fall outside time dimension - 04-04-2006 , 08:33 AM






I would like to apply a second time dimension to a cube that limits the view
to only the past 12 months. I have created a time dimension that only
contains the last 12 months based on the current date and applied it to the
cube. However, there are measures in the cube with dates that fall outside
this range. When processing the cube, it sees these out-of-range dates and
stops with an error that says "The record was skipped because the attribute
key was not found".

How can I apply this dimension to a cube without getting errors? Is there a
better way that I can create this "view" of the cube that only returns 12
months?

Thanks,
Stephen Sanders



Reply With Quote
  #2  
Old   
Wayne Snyder
 
Posts: n/a

Default RE: Measures that fall outside time dimension - 06-23-2006 , 07:07 AM






You could create a dimension with 2 members Current and Old. Set the fact
values to the correct member and the user can select, but you would set the
default member to Current.
--
Wayne Snyder MCDBA, SQL Server MVP
Mariner, Charlotte, NC

I support the Professional Association for SQL Server ( PASS) and it''s
community of SQL Professionals.


"Stephen Sanders" wrote:

Quote:
I would like to apply a second time dimension to a cube that limits the view
to only the past 12 months. I have created a time dimension that only
contains the last 12 months based on the current date and applied it to the
cube. However, there are measures in the cube with dates that fall outside
this range. When processing the cube, it sees these out-of-range dates and
stops with an error that says "The record was skipped because the attribute
key was not found".

How can I apply this dimension to a cube without getting errors? Is there a
better way that I can create this "view" of the cube that only returns 12
months?

Thanks,
Stephen Sanders




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.