dbTalk Databases Forums  

Rolling 15 months views from AS2005 cube in OWC component

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


Discuss Rolling 15 months views from AS2005 cube in OWC component in the microsoft.public.sqlserver.olap forum.



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

Default Rolling 15 months views from AS2005 cube in OWC component - 08-22-2006 , 12:29 PM






1. I need to have a named set/calculation appear in the pivot table fields
list (Office 2003) so that I can filter a time dimension down to the last 15
periods. In order to do this, I was thinking I need to setup a dimension
hierarchy with the WkYr attribute in it and somehow filter for the last 15
months. This is exposed to the pivot table and then I can drag it onto a
table or chart and see only the last 15 months...How do I enable this? I
can't figure out how to filter this attribute.....

2. To filter values in the AS2005 browser to get the last 15 periods, I have
used a named set defined as :

[Last 15 periods] = LastPeriods(15,[WkYr].[Wk-26-2006]).

I can use this in the AS2005 browser to filter to the last 15 periods. How
do I make this relative to the last period with data instead of to a specific
week [Wk-26-2006]? My attempt was:

LastPeriods(15,NONEMPTY([WkYr].Members,
[Measures].[A_WarehouseLbrCostPerUnit]))

The expression could not resolve the [Measures].[A_WarehouseLbrCostPerUnit]
reference, although it is in the cube

I appreciate any help you can provide.


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.